getkirby.com
getkirby.com copied to clipboard
Lightbox opens smaller image
Clicking on lightbox images you receive a smaller version of the images.
Looking at the source code I see the img tag in the lightbox has a srcset with 2x
while the images in the articles don't.
I can confirm the issue when i click second time.
You hardcoded 2x
in the lightbox srcset. I guess because some screenshots are retina screenshots? The perfect solution would be to differentiate those by adding a @2x
to their filename. Then the script can add the 2x
appendix conditionally .