M
M
ms23452015-10-09 15:01:15
Images
ms2345, 2015-10-09 15:01:15

Prefixes for images in url?

Hello. I'm not even sure if I write the essence of the question correctly.
I often see links to images of this kind:
1) site.ru/image.png - full size
2) site.ru/image.png_size_100_100 - size 100x100 pixels
Why this is necessary is clear, but how could all this be done? Your help is very much needed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
coderisimo, 2015-10-09
@coderisimo

for example, you determine from which device your resource is viewed (css media queries). if it's a phone, then connect a special css and give the user thumbnails, thus optimizing the page loading speed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question