-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lightbox is requesting too big images. Lightbox is requesting too small images. #12216
Comments
This issue is two-fold:
The advantage to using srcsets is we don't account for viewport, the browser does. But this assumes the srcset is correct, and its not possible for the browser to do anything sensible for this image because the srcset is specifying 'height-over-sized' image content, as mentioned. Broadly, here are the goals for this task:
Sounds simple! |
Big thanks for the thorough explanation and a plan. One small thing we may consider only for Lightbox images is using |
That sounds like something we could try on certain breakpoints, so maybe use pjpg when the |
Not sure if I would like to see images loosing blurriness in random order on a front or in an article... Also, as I said, I don't think imgIX guarantees same perceptual quality for the same That was only a thought, if it presents any additional work to make it work only for Lightbox - let's forget about it, I would say :-) |
I wouldn't say this is perfection but this change might help here. It's all a bit arbitrary and depends on consistent ratios and having a width (and maybe height as well if we're not assuming ratio) set for master images but I think these assumptions play out |
Hello,
dpr=2
logic from Reduce image weight, welcome hidpi screens #12079.Related: #12079
There is so much more we could do to the Lightbox starting with fixing the mobile experience. Or small things like still occurring #6144. Or the big things. Really big :-)
Regards
Mateusz
The text was updated successfully, but these errors were encountered: