S
S
Sjhhducsj2019-04-14 16:08:34
WordPress
Sjhhducsj, 2019-04-14 16:08:34

How to designate the correct version of thumbnails in product categories?

On the pages of the catalogs and on the main page, products are displayed 5 pcs in a row and 2 pcs for the mobile version. The problem is that the final size of the images is much smaller than the thumbnails that are picked up when the page is generated. Those. in the mobile version, 600x600 thumbnails are loaded, although 150x150 would be enough there. In the PC version, 300x300 are loaded, although 150x150 would also be enough. All this leads to an unnecessary increase in page sizes.
Tell me how to explain to WordPress which thumbnails should be used on the category and main pages.
Google, I could not formulate the question.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jupiter Max, 2019-04-14
@Sjhhducsj

Well, apparently there is some kind of hidden block that is shown on mobile phones and already in it, through the code, it is written what size of the thumbnail to display. Read here _

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question