Mobile thumbnail size
-
hello, I have a crop thumbnail size width 165 cm specially for the mobile version, the size for the desktop by default 600 cm, but I would like a smaller size to be taken when loading the mobile version of the product archive or the store page, Google pagespeed shows too large images. I understand that this can be done through CSS by specifying @media size and items, but it will be the same and it’s better to leave it to the browser itself, I probably need to write a condition through PHP for what resolution what size will be used, for example, I have crop under
‘mobile’ 165 cm and I would like to substitute it instead of shop or medium thumbnail. I would be glad to receive this piece of code to optimize my site.
- The topic ‘Mobile thumbnail size’ is closed to new replies.