Normally I can paste images reduced in size, which you can see in original size when you click on them. That just doesn’t work here.
Do you have an idea?
Thank you.
Hey Christiane,
Thank you for the inquiry.
How did you add the image and apply the links? The original size of the image is not shown within the lightbox container because the image markup contains the sizes attribute, which limits the size of the image to the specified width.
We cannot reproduce the same issue on our end. We added the following html in a text block and it works as expected. It opens the image without the sizes attribute and displays it in its original size.
<a href="http://localhost:8000/wp-content/uploads/2021/09/morgan4.jpg"><img class="alignnone wp-image-19 size-medium" src="http://localhost:8000/wp-content/uploads/2021/09/morgan4-300x300.jpg" alt="" width="300" height="300" /></a>
Best regards,
Ismael
Hello Ismael,
‘the image markup contains the sizes attribute, which limits the size of the image to the specified width’ > that is normal I think. And my source code looks the same like yours. It’s a very normal process anyway, but nevertheless…
Where else could I look?
Thank you!
Hello Ismael,
Part II:
I now put in the images by using the shortcode of the theme (media elements > images). Now it works- the main thing.
Have a nice day and thank you again
Christiane