Jump to content

How to specify image dimensions ?


Recommended Posts

  • 5 months later...

Hey!

 

I have a similar issue with my site.

 

When I test it on gtmetrix, I always get an F on "Specify image dimensions".

 

I don't understand it, because the dimension of the pictures is set to 200 x 200 px.

 

And do you have any other suggestion for speeding up my site?

 

Almost 5 seconds is still a very long time.

 

Any help is highly appreciated.

 

 

https://www.aktiv-naturheilmittel.at

Link to comment
Share on other sites

What they mean is something like

<img src="example.jpg" width="200" height="200">

Alternatively this could be set in your stylesheet. The idea is that if your page knows from the code how big your image is it doesn't have to wait for the download of the image before starting to render your page.

 

However, I see in your shop that your image files are 200x200 but they are displayed at 151x151.

Link to comment
Share on other sites

×
×
  • Create New...