With the request that search engines ask around images, is difficulty to manager the right sizes and have a good crop for each image size that we have on our theme.
With that in mind, we create an option to replace just one size of the image, then when the image shows up on mobile or tablet, it will show de crop that you uploaded instead the one that Wordpress made.
Performance (Devs)
We add filters and actions mainly on backend. Any updates on that will be here.
Filters on Front end
- wp_calculate_image_srcset
- wp_calculate_image_sizes
To turn off the filter, just add a filter ('CRI_change_sizes_attr' and 'CRI_change_srcset_attr') returning false.
Recommended Plugins
- PNG to JPG by KubiQ - Use this first to convert all the PNG's to JPG's
- Regenerate Thumbnails by Alex Mills - IF you change the images sizes or add new ones, use this to regenerate all the images.