Browser: any
OS: Linux
URL: ..
Video: ..
When the Image element has “Sources” enabled (rendering as with per-breakpoint sources), the “Link to: Lightbox” > “Image size” setting is ignored. The lightbox always opens the image selected in Sources for the Desktop (Base breakpoint) source, regardless of what image size is chosen in the Lightbox settings.
Steps to reproduce:
Add an Image element with a dynamic image (e.g. {featured_image}) / but I believe you can just choose/upload an image .
Enable “Sources” and add multiple breakpoint sources (e.g. S, L, Desktop base), each pointing to a different registered image size.
Set “Link to” to “Lightbox”.
Under Lightbox settings, choose an “Image size” that is different from the image size selected in the Desktop (Base breakpoint) source.
View the page on the frontend and click the image to open the lightbox.
Expected: Lightbox opens the image size chosen under Lightbox > Image size.
Actual result: Lightbox opens the image size selected in Sources > Desktop (Base breakpoint), ignoring the dedicated Lightbox image size field.
