PageSpeed "Properly size images" even though I added a new "XS" breakpoint #196
Replies: 3 comments 6 replies
-
Also, looking at the network tab on inspect, it looks like it's loading the same size image regardless of my screen size. Unless I am miunderstanding. Here is one of the image tags:
|
Beta Was this translation helpful? Give feedback.
-
So if I click one of the images on PageSpeed, this is what it loads: So, looks like 990px width and 653.3648728563px height.... which is pretty large. Also, from the code I put above, it looks like the "media" tag is empty. Isn't there supposed to be breakpoints in there? I'm not sure I understand your second question, I apologize. |
Beta Was this translation helpful? Give feedback.
-
Regarding the breakpoint not working: if you are not specifying a ratio for any breakpoint other than the default one, there won't be additional breakpoints with media query with min-width set. I am guessing this is the reason you are not seeing a media query. |
Beta Was this translation helpful? Give feedback.
-
I am trying to solce Lighthouse PageSpeed flagging "Properly size images". I published
responsive-images
and added'xs' => 300,
to the breakpoints, but I still get the flag. Like, is a 300px breakpoint not small enough? Or is there something else I need to do in addition to this to get it to work?Beta Was this translation helpful? Give feedback.
All reactions