Generate Thumbnails only for Featured Images
This function will generate an image by temporarily registering an image size, generating the image (if necessary) and the removing the size so new images will not be created in that size. function lazy_image_size($image_id, $width, $height, $crop) { // Temporarily create an image size $size_id = ‘lazy_’ . $width . ‘x’ .$height . ‘_’ . … Read more