WordPress image resize
-
Hi,
My problem it’s about the thumbnails resizing option via functions.php.
The site c-comunicazione.ch use a lot of network resource for loading images because these are resizing with the function:<?php the_post_thumbnail(‘tiny-thumb’); ?>
The ‘tiny-thumb’ is an image size that I’ve added to my admin panel for manage the various size better.
When i run the Google PageSpeed tool, it tell me I’ve to offer scaled images. As obvious for this reason my website it’s taking a lot of time for loading.
In my upload folder I’ve the full sized image file, the normal size (width = 500px) and the tiny (width = 180px), but when I call the thumbnail with the wordpress function, the script don’t use the tiny file, but the full sized one. It only add a line of code for specify the height and width, and don’t use the scaled version.
Sorry for my language errors! I hope the problem it’s clear.
- The topic ‘WordPress image resize’ is closed to new replies.