S
S
Shaman7392015-10-04 12:52:42
PHP
Shaman739, 2015-10-04 12:52:42

How does it affect page loading speed if you change the size of the image dynamically?

The site had a lot of pictures that are 300x400 in size. But often I display these pictures in the size of 100x70. Naturally, this is bad for SEO and I decided to make dynamic resizing through the SimpleImage class. That is, the links look like this site.ru/img/100/70/image.jpg instead of site.ru/image.jpg. But now the question arose of how much the server will load and whether there will be more brakes than if I loaded the full picture.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rsa97, 2015-10-04
@Rsa97

If there is enough disk space, then simply convert the pictures to the desired size in advance.

V
Vladislav Soprun, 2015-10-04
@soprun

Example:
route-name - router name
eg images
template-name - processing template small
- 120x90 Pixel
medium - 240x180 Pixel
large - 480x360 Pixel
file-name - file name how much the server will load - it all depends on the number of images on it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question