Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #589525

    Hello Guys,
    I was surprised that Enfold generating about 10 different image sizes, and after reading the thread, installed “Simple Image sizes” plugin. So If I leave only 3 image sizes, what repercussions I might have? Would layer slider still work on front page for mobile and desktops? Anything else I should be worried about?

    Thank you, Igor

    • This topic was modified 8 years, 1 month ago by igorvavrik.
    #589895

    Hi Igor!

    Please refer to Josue’s post here – Please refer to Josue’s post here – https://kriesi.at/support/topic/disable-image-generation-in-17-different-sizes/#post-527765 to disable them

    Best regards,
    Yigit

    #589909

    yes, but what are disadvantages if I disable them , what will stop working (sliders, galleries etc?) ?

    #590583

    I inserted the code like you said “at the very end” of functions.php , the website stopped working, I had to upload this file from backup

    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 );
    #591352

    Hello Yigit, can you comment why adding this code crashed website? I had to reupload functions.php from backup

    #591354

    Is it possible to remove some lines from this code?

    $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'=>710, 'height'=>575 );// 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'=>710, 'height'=>270); // big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 ); // images for fullsize pages and fullsize slider
    #592519

    Hey!

    The disadvantage is that you don’t get to choose certain image size while inserting the image to post or assigning it to a post or a portfolio thumbnail.

    To do any custom modifications please use a child theme so you wont lose it after a theme update.
    http://kriesi.at/documentation/enfold/using-a-child-theme/

    You can go ahead and remove the lines you don’t want in child theme files.

    Best regards,
    Vinay Kashyap

    #870406

    Hi, just a heads up for anyone wanting to remove the automatically images, Enfold creates 3 extra image sizes in another file for it’s woocommerce template.
    So beside the ones given above by igorvavrik, add these as well:

    	remove_image_size('shop_thumbnail');
    	remove_image_size('shop_catalog');
    	remove_image_size('shop_single');

    So my function looks like this:

    //Disable loads of Enfold image sizes upon upload (to save space)
    
    add_action('init', 'remove_enfold_image_sizes');
    
    function remove_enfold_image_sizes() {
    	remove_image_size('square');
    	remove_image_size('featured');
    	remove_image_size('featured_large');
    	remove_image_size('portfolio');
    	remove_image_size('portfolio_small');
    	remove_image_size('gallery');
    	remove_image_size('magazine');
    	remove_image_size('masonry');
    	remove_image_size('entry_without_sidebar');
    	remove_image_size('entry_with_sidebar');
    	remove_image_size('shop_thumbnail');
    	remove_image_size('shop_catalog');
    	remove_image_size('shop_single');
    }

    Cheers

    #871062

    Hi fisherman,

    Thanks for sharing, much appreciated :-)

    Best regards,
    Rikard

    #1113218

    Hi, I am new to Enfold, and am setting up a photography website, and I have the same problem: the website is super slow.
    If I use medium size images, the Thumbnails in Lightroom are blurred, so at the moment I use 1500 x 1000, and have deactivated WordPress compression.
    I see that Enfold is still generating a huge amount of other sizes, but I can’t find the function.php to add this code.
    Can someone help lease?

    #1113358

    Hi Jzumpfe,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Here are a few useful links for you

    http://www.wpbeginner.com/wp-tutorials/how-to-increase-or-decrease-wordpress-jpeg-image-compression/

    Best regards,
    Victoria

    #1113509

    Hi Victoria, thank you very much for those links, I actually know most of that.
    I have found a workaround in the meantime, installing a plugin that deletes all unnecessary rendered Images, and that has cut page loading by half. I will provide my login anyway, and maybe you have some tips on how I can still increase page loading? It still counts as a slow site .
    Thanks!
    Jess

    #1114056

    Hi Jess,

    Where do you have any blurred images? The website seems to look fine.

    Best regards,
    Victoria

    #1114172

    HI Victoria, they are fine, as I had to upload them in a bigger size. in 800x800px, the big files look good, but the small previews not (found this solution in the forum). Obviously, this slows down my website though. I have installes super cache and removed all unused rendered image sizes. Is there any more I can do?
    Thanks!

    #1114335

    Hi Jzumpfe,

    Well, on the Enfold side not much, but you can have a look at the following links

    Best regards,
    Victoria

    #1257628

    Hi,
    I am having the same problem. Enfold is generating 20 images for every image uploaded.

    I found my website is running really slowly so decided to go through my media library as when I first started I added images that weren’t optimised. So i have been going through them all to reduce their size in hopes of speeding up my site. Whilst doing this I noticed that the lightbox view of my images is not nearly as clear or sharp as the images uploaded.

    I found information about changing image sizes under settings> media and then increasing px size. This lead me to look at my ftp uploads folder to see what sizes were in there which is how I noticed each image has 20 generated copies at different sizes. That adds up to 1GB of images even though most of the original images are 100KB or there abouts. Surely this is slowing my site down dramatically?

    How do I go through the uploaded ftp files to work out which are being used? I will delete any that aren’t being used but I have no idea how to tell which are important and which aren’t? I haven’t changed the any of the media image size settings to try and improve the lightbox view as I am worried doing so will generate even more images and slow my site down even more.

    I am also using woo commerce which I am guessing is responsible for a few of the extra sizes. Please help!!!!

    #1258534

    Hi,

    Thank you for the update.

    That adds up to 1GB of images even though most of the original images are 100KB or there abouts. Surely this is slowing my site down dramatically?

    This actually helps in speeding up the site because WordPress will be able to select and use a smaller versions of the image instead of serving up the original and larger version of the image. But it will definitely consume more space in your server.

    I will delete any that aren’t being used but I have no idea how to tell which are important and which aren’t? I

    This will actually depend on the content or the elements that are used in the site. Each thumbnail has it own uses and is designated to a specific element in the theme or site. It is important to note that WordPress automatically selects a different thumbnail if the assigned thumbnail is not found or was removed, so it is safe to disable any thumbnails that you think is not necessary for the site because WordPress will just pick another version of the thumbnail.

    Best regards,
    Ismael

Viewing 17 posts - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.