Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1161652

    For every single image I upload to a post this is generated:

    image-05-36x36.jpg
    image-05-80x80.jpg
    image-05-120x120.jpg
    image-05-180x180.jpg
    image-05-260x185.jpg
    image-05-300x170.jpg
    image-05-450x255.jpg
    image-05-450x450.jpg
    image-05-495x400.jpg
    image-05-705x400.jpg
    image-05-710x375.jpg
    image-05-768x435.jpg
    image-05-845x321.jpg
    image-05-845x510.jpg
    image-05-900x423.jpg
    image-05-900x430.jpg
    image-05.jpg

    For a single post with 5 images I end with 85 images, which is insane. I have over 13GB of space just for images because of this.

    What are all the images needed for?

    Thanks.

    #1162538

    Hey peterolle,

    Thank you for the inquiry.

    The thumbnails are designated to specific elements or templates, generated to prevent use of larger image and help improve page load — 36x36px for small widgets, 768x435px for masonry items, 845x321px for the featured image of single entries with sidebar and so on and so forth. The thumbnails can be disabled manually if necessary.

    // https://kriesi.at/support/topic/photos-taking-up-a-huge-amount-of-space-on-my-site-storage-anything-i-can-do/

    Best regards,
    Ismael

    #1162932

    I need to know what is for every single one of the 17 generated images to know which ones to remove.

    Thank you.

    #1163292

    Hi,

    Thank you for following up.

    You can find them in the functions.php file around line 181 — that is where the thumbnails are registered. The names of the thumbnails, the comments and their designation are fairly self-explanatory.

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    $avia_config['imgSize']['square'] 		 	    = array('width'=>180, 'height'=>180);		                 // small image for blogs
    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['featured_large'] 		= array('width'=>1500, 'height'=>630 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['extra_large'] 		 	= array('width'=>1500, 'height'=>1500 , 'crop' => false);	// images for fullscrren slider
    $avia_config['imgSize']['portfolio'] 		 	= array('width'=>495, 'height'=>400 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );						// images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>684 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['magazine'] 		 	= array('width'=>710, 'height'=>375 );						// images for magazines
    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);		            	// big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize'] = apply_filters('avf_modify_thumb_size', $avia_config['imgSize']);
    

    Best regards,
    Ismael

    #1172537

    Is there another guide to fix this? It is not very clear in that thread how to proceed. Also is over a year old with not updated plugins.

    1- Understand sizes.
    featured, featured_large, extra_large, entry_with_sidebar

    Which ones is my site using?

    2- Delete all unused sizes.

    Thanks.

    #1172782

    Hi,

    1.) Please read the comments after each thumbnail registration in the functions.php file.

    featuredmages -> for fullsize pages and fullsize slider
    featured_large -> images for fullsize pages and fullsize slider
    extra_largewidth -> images for fullscrren slider
    portfolio -> images for portfolio entries
    entry_with_sidebar -> big images for blog and page entries

    2.) The theme will use the original version of the image if the certain thumbnail used for an element, template or content is not available.

    We can’t really know which thumbnail are being used or not within the site without inspecting it. Unfortunately, this will require significant amount of time and is beyond the scope of support.

    Best regards,
    Ismael

    #1172783

    And if spend 3 hours to identify all the images that are actually used, how to delete all the other ones?

    I have over 15GB just because of this and I can bet 12GB are just generated ones.

    You should really implement something to fix this problem.

     
    -https://kriesi.at/support/topic/multiple-image-sizes-on-upload/
    -https://kriesi.at/support/topic/disable-creation-of-multiple-file-resoltuions-on-media-upload/
    -https://kriesi.at/support/topic/please-stop-enfold-generating-so-many-images-sizes-for-every-image/
    -https://kriesi.at/support/topic/photos-taking-up-a-huge-amount-of-space-on-my-site-storage-anything-i-can-do/
    -https://kriesi.at/support/topic/multiple-images-being-generated/
    -https://kriesi.at/support/topic/cleaning-up-multiple-picture-sizes/
    -https://kriesi.at/support/topic/disable-image-generation-in-17-different-sizes/
    -https://kriesi.at/support/topic/image-sizing-and-removal/
    -https://kriesi.at/support/topic/how-to-disable-multiple-image-sizes-generation-while-uploading-to-gallery/
    -https://kriesi.at/support/topic/multiple-image-sizes-for-every-image-in-uploads/
    -https://kriesi.at/support/topic/automatic-generated-image-sizes-in-media-library/
    -https://kriesi.at/support/topic/media-library-bug-thousands-of-duplicates/
    -https://kriesi.at/support/topic/multiple-duplicate-images/
    -https://kriesi.at/support/topic/image-managment/
    -https://kriesi.at/support/topic/generated-images-automatically/
    

    Thanks.

    • This reply was modified 4 years, 10 months ago by peterolle.
    #1173429

    Hi,

    And if spend 3 hours to identify all the images that are actually used, how to delete all the other ones?

    To delete the thumbnails, you can either use the remove_image_size function.

    // https://developer.wordpress.org/reference/functions/remove_image_size/

    Or use the Simple Image Sizes plugin as described in the following thread.

    // https://kriesi.at/support/topic/photos-taking-up-a-huge-amount-of-space-on-my-site-storage-anything-i-can-do/#post-1055362

    Don’t forget to regenerate the images after disabling the thumbnails.

    Best regards,
    Ismael

    #1173538

    So you recommend that not updated plugin for almost a year because you tested it?

    Please describe the steps to follow so I can disable and remove al unwanted images.

    Thanks.

    #1173837

    Hi,

    Yes, the Simple Image Sizes plugin is still compatible with the latest version of WordPress and the theme. After the activation, go to the Settings > Media panel to see the list of registered of thumbnails. And to disable the thumbnails, set their width and height to 0, then look for the Thumbnail regeneration section and tick off the checkbox of the thumbnails that you don’t want to use. Save changes, then regenerate the thumbnails.

    Best regards,
    Ismael

    #1193483

    I just try this and nothing happens.

    look for the Thumbnail regeneration section and tick of the checkbox of the thumbnails that you don’t want to use. Save changes

    After save all are checked again.

    This are my steps.

    1- Install Simple Image Sizes
    2- Add 0x0 to all unwanted sizes.
    3- Hit Save.
    4- Uncheck all 0x0 sizes.
    5- Regenerate Thumbs.

    The result is that I have exactly what I had, a full server with all image sizes.

    After that I tried Regenerate Thumbnails plugins and the result is the same.

    All images are there.

    So, how to delete all unwanted images?

    Thanks.

    #1193970

    Hi,

    You can try the following filter instead of using the plugin.

    function ava_image_sizes() {
    	remove_image_size('masonry');
    	remove_image_size('magazine');
    	remove_image_size('widget');
    	remove_image_size('featured');
    	remove_image_size('featured_large');
    	remove_image_size('extra_large');
    	remove_image_size('portfolio_small');
    	remove_image_size('gallery');
    	remove_image_size('entry_with_sidebar');
    	remove_image_size('entry_without_sidebar');
    	remove_image_size('square');
    }
    add_action( 'after_setup_theme', 'ava_image_sizes', 11 );

    After adding it in the functions.php file, install this plugin to regenerate the thumbnails.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    #1278201

    Hi

    I am working on this problem too
    I have a situation where I have a site that is importing real estate listings from a hub – the site only needs 2 thumbnails of a certain size (one for from end and one for admin/media library) and 3 larger images of a certain size for the font end

    it seem WP & Enfold crate 29 versions of each image

    I have worked out which images I need to keep
    eg
    18195851__1612125956-22539-Office1-300×225.jpg
    18195851__1612125956-22539-Office1-300×200.jpg
    18195851__1612125956-22539-Office1-845×684.jpg
    18195851__1612125956-22539-Office1-scaled-800x500_c_epl_slider.jpg
    18195851__1612125956-22539-Office1-2048×1536.jpg

    and all these are not needed

    18195851__1612125956-22539-Office1-100×100.jpg
    18195851__1612125956-22539-Office1-1030×773.jpg
    18195851__1612125956-22539-Office1-1210×423.jpg
    18195851__1612125956-22539-Office1-1500×1125.jpg
    18195851__1612125956-22539-Office1-1500×430.jpg
    18195851__1612125956-22539-Office1-1500×630.jpg
    18195851__1612125956-22539-Office1-1536×1152.jpg
    18195851__1612125956-22539-Office1-180×180.jpg
    18195851__1612125956-22539-Office1-2048×1536.jpg
    18195851__1612125956-22539-Office1-260×185.jpg
    18195851__1612125956-22539-Office1-36×36.jpg
    18195851__1612125956-22539-Office1-495×400.jpg
    18195851__1612125956-22539-Office1-705×529.jpg
    18195851__1612125956-22539-Office1-710×375.jpg
    18195851__1612125956-22539-Office1-768×576.jpg
    18195851__1612125956-22539-Office1-80×80.jpg
    18195851__1612125956-22539-Office1-845×321.jpg
    18195851__1612125956-22539-Office1-845×684.jpg
    18195851__1612125956-22539-Office1-scaled-120x120_c_epl_slider.jpg
    18195851__1612125956-22539-Office1-scaled-400×300.jpg
    18195851__1612125956-22539-Office1-scaled-800x500_c_epl_slider.jpg
    18195851__1612125956-22539-Office1-scaled.jpg
    18195851__1612125956-22539-Office1.jpg

    how can I add these to the above code for my child there functions.php file

    maybe
    remove_image_size(‘1030×773.jpg’);
    would that work ?
    or do I need it without the .jpg ?

    #1278547

    Hi,


    @smarta-brett
    : Please refrain from opening up old threads and create your own ticket instead. The inquiry form is located in the following page.

    // https://kriesi.at/support/forum/enfold/#new-post

    We replied here: https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1278521

    Best regards,
    Ismael

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Generated images per upload’ is closed to new replies.