Skip to content

"Serves images with a low resolution" - need help understanding "Expected Size" and how to fix #15319

Answered by adamraine
issababble asked this question in Q&A
Discussion options

You must be logged in to vote

I have reviewed the help link from that audit but it doesn't really answer my questions. Although from my basic knowledge about images

Yeah we can definitely improve our docs for this audit (See #15221).

I assume the rec has something to do with pixel ratio/density - if that's true, how can I find out the pixel density to optimize for for my site and users?

Your assumption is correct. If it helps:

  • "Displayed size" refers the the size of the image element
  • "Actual size" refers to the size of the image asset
  • "Expected size" is the recommended image asset size given the size of the image element and the device pixel density

Lighthouse emulates a Moto G power by default but this can be c…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@issababble
Comment options

@adamraine
Comment options

@issababble
Comment options

Answer selected by issababble
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants