WAIT: Default image in lightbox showing instead of intended image

Browser: Edge 128
OS: Windows

I have a slider with query loop showing image from dynamic data (acf field).
I set default image the same for every card in query, but in source changed it to the image from the acf field.
It shows as intended, but when opening lightbox it switches to the default image.

Am I doing something wrong, or is this a bug? :slight_smile:
Thanks

Hmm, why did you set it to be the same image for all, but then change it in source? Why is holding you back from setting a different image as a default image for each item? :thinking:

Best regards,
M

Because, when the queried item doesn’t have the image set, it doesn’t display anything, breaking the layout.
If there is another way to get fallback image, I will use it, but didn’t find any.

Since 1.10, there has been a fallback image argument for dynamic tags :slight_smile:

You can use it like: {acf_image @fallback-image:554} or {acf_image @fallback-image:'https://example.com/placeholder.png'}

Best regards,
M

Thanks, that’s awesome.
However, despite the weird usecase, the fact it is showing different image in lightbox is still a bug, right? Or is it intended and it’s just me? :smile: