You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to propose adding a ?size query parameter that would return the intrinsic image width and height, much like ?lqip-colors works today. This would allow us to hint the aspect ratio to browsers in a custom component before the image is loaded to avoid layout shifts.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello!
Looking at this module to optimize web performance, and with this in mind:
https://www.smashingmagazine.com/2020/03/setting-height-width-images-important-again/
I'd like to propose adding a
?size
query parameter that would return the intrinsic image width and height, much like?lqip-colors
works today. This would allow us to hint the aspect ratio to browsers in a custom component before the image is loaded to avoid layout shifts.Thanks!
The text was updated successfully, but these errors were encountered: