next/image
media query display filtering for priority
images
#64615
kirkstrobeck
started this conversation in
Ideas
Replies: 2 comments
-
This is related to #21379 and #19880 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Indeed, we've needed this for awhile; I run into it nearly weekly. Vercel's blog uses different versions of images both in dark & light modes & desktop & mobile, but they load each of the variants regardless of which is rendered, unfortunately. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the feature you'd like to request
next/image
will only load the mobile or desktop image accordinglypriority
, then both the mobile and desktop images will load in all casespriority
impacts my LCP, addingpriority
means the user has to download an additional large imageDescribe the solution you'd like
Example
Describe alternatives you've considered
Manually creating an
img
tag withsizes
orsource
and specifying media-queries thereBeta Was this translation helpful? Give feedback.
All reactions