acf-image-aspect-ratio-crop icon indicating copy to clipboard operation
acf-image-aspect-ratio-crop copied to clipboard

Disable thumbnail generation for cropped images

Open method71 opened this issue 5 years ago • 3 comments

Wordpress generates thumbnails for downloaded images (150x150). And I do not disable this feature because it is responsible for displaying thumbnails in the media library.

But thumbnails are also generated for cropped images, and they take up disk space, but are not used, which is not very good.

It would be great if there was an option to disable creating copies of cropped images.

method71 avatar Apr 11 '19 07:04 method71

Hey, thank you for the feature suggestion. I created this plugin mainly for the use with responsive images (with the help of the scrset attribute and multiple image sizes).

However I recognize that there may be need to generate only specific resolutions (for example the recommended size for Facebook Open Graph share images is 1200x630).

I'l look into adding a option to choose which images are generated on field-by-field basis. No release dates unfortunately, I'll do it when I have time.

joppuyo avatar Apr 13 '19 11:04 joppuyo

Want to help if I can :)

guytzhak avatar Mar 15 '20 21:03 guytzhak

First of all - thank you for this great plugin!

Are there any news regarding this issue? It would be a nice improvement if the plugin optionally prevented wordpress from generating image sizes or at least automatically deleted them as soon as they are created. For the "Preview Size" the thumbnail (or any other size) created for the original image could be used.

sebalzert avatar Apr 25 '20 09:04 sebalzert