What is an efficient method of working with images in WordPress
such that it uses the least resources and allows for fast loading?
Is it efficient to disable copies of images in dashboard > settings > media?
In other words, is it good to set a value of zero for Thumbnail, Medium, and Large, and just keep the Original sized image? Therefore there would not be 4 copies of the same image, and this would be good because it uses less resources from Wordpress, right?
Below is my gameplan, but I'm not sure if it is efficient:
For my homepage, I will display 200x200 Featured Images (aka Post Thumbnails)
For single.php, I will display a 400x400 version of the same image
- Crop images to 200x200 before uploading to WordPress
- Use this code
loop.php
<?php the_post_thumbnail( 'full' ); ?>
functions.php
add_theme_support( 'post-thumbnails' );
.
.
Also, when using a plugin to Regenerate Thumbnails, are old images overwritten and deleted? Or do the images keep accumulating?
.
.
.