Via FTP I see that 25 variants of each uploaded picture are generated in different resolutions, but I hardly use or need any of them. Is it possible to prevent the generation of unneeded images, or is there a recommended procedure to avoid using up storage space with unnecessary data?
I also use the plugin "Imsanity" to reduce very large images to max. 1920 px image width already during upload.
Hi
Via FTP I see that 25 variants of each uploaded picture are generated in different resolutions, but I hardly use or need any of them. Is it possible to prevent the generation of unneeded images, or is there a recommended procedure to avoid using up storage space with unnecessary data?
I also use the plugin "Imsanity" to reduce very large images to max. 1920 px image width already during upload.
Thank you very much for your support.
Hi Dan.
This might help : https://www.wpbeginner.com/wp-tutorials/how-to-prevent-wordpress-from-generating-image sizes/#:~:text=You%20can%20stop%20WordPress%20from,you%20upload%20a%20new%20image.
Thanks.
Thanks Andrew.
The article only refers to the 3 image variants generated by Wordpress but not to the 25 image variants of the Salient Theme.
I would like to have only the actually needed image variants created or saved.
Is there a recommended way to do this?
Hi Dan,
Please try pasting this code to your function.php to see whether it stops the generation of images:
Let me know how it goes.
Kind Regards.