Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #329666

    Hi everyone,

    This is a follow up of this closed threads https://kriesi.at/support/topic/too-many-image-resized-as-uploading-any-image/ You might want to merge, thank you.

    Have been set any Media WP default size to “0” (to avoid them uploading). Have been also updating to Enfold 3.0 and commenting out Enfold image sizes as shown here (functions.php):

    $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 );	OPC */						// images for fullsize pages and fullsize slider
    /* $avia_config['imgSize']['featured_large'] 		= array('width'=>1500, 'height'=>630 );	OPC */						// images for fullsize pages and fullsize slider
    /* $avia_config['imgSize']['extra_large'] 		 	= array('width'=>1500, 'height'=>1500 , 'crop' => false); OPC */	// images for fullscrren slider
    /* $avia_config['imgSize']['portfolio'] 		 	= array('width'=>495, 'height'=>400 );	OPC */						// images for portfolio entries (2,3 column)
    /* $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );	OPC */						// images for portfolio 4 columns
    /* $avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>684 );	OPC */					// images for portfolio entries (2,3 column)
    /* $avia_config['imgSize']['magazine'] 		 	= array('width'=>710, 'height'=>375 );		OPC */					// images for magazines
    /* $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		OPC */	// images for fullscreen masonry
    /* $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);		OPC */	            	// big images for blog and page entries
    /* $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );		OPC */					// images for fullsize pages and fullsize slider

    Even so, I am getting 3 extra images resized:

    120×120
    450×337
    450×450

    Image

    Might you please explain what these 3 size are and how removing them from uploading ?

    Many thanks

    PS.By the way, love enfold 3.0, nice new features and New demo installations. Nice work, thank you!

    Cheers!

    #329765

    Hey macatokio!

    The theme isn’t the only thing that adds images. You can use this plugin to see all image sizes that are registered with your WordPress installation: http://wordpress.org/extend/plugins/simple-image-sizes/

    Best regards,
    Devin

    #329786

    Hi Devin, thank you for quick answering.

    Just using Better WordPress Minify plugin, have been disabling and trying again: same result.

    Me do not understand: providing I have WP default Media set to “0” (not any img being created), just have Enfold theme. Might you please help understand where these resized images could come from ?

    120×120
    450×337
    450×450

    Cheers!

    #329794

    Ah Devin, just installed mentioned plugin:

    120×120 >> shop_thumbnail size
    450×337 >> shop_single size
    450×450 >> shop_catalog size

    What should I do to prevent them from being uploaded ? Which theme template is being creating those sizes ?

    Thank you

    #329842

    Those are from WooCommerce.

    #329872

    I do not have WooCommerce installed (I would have mention it).

    Devin, might you please confirm ?

    Cheers!

    #329924

    I don’t know in that case. Those are the sizes set from WooCommerce.

    #329939

    You might agree there is no reason to have WooCommerce resized image as not installing WooCommerce. Why not placing a IF conditional or something else to avoid those image to be created as WooCommerce is not installed ?

    I cannot see my server being stuffed with tons of images I will never use, I would really appreciate you to check this issue out.

    Could it be a bug ? In the meantime, might you please suggest a fix ?

    Thank you.

    Cheers!

    • This reply was modified 10 years, 2 months ago by macatokio.
    #329994

    You can use that plugin to delete any images you don’t want to be generated from being generated.

    #330200

    Thank you Devin, yep I know but not a good idea to use a plugin for this.

    Might you please indicate which Enfold template do create those images and how to remove them ?

    As a (happy) Enfold client (deeply nice theme), I believe this is an Enfold issue that needs to be adressed IMHO.

    Is there any bug tracker or any section here to mark this issue out ?

    Thanks

    Cheers !

    #330642

    Hi!

    Go to Settings > Media. Set those thumbnail sizes to 0. Update then save changes. They won’t be generated after that. Or you can edit config-woocommerce > config.php. Find and remove this line of code:

    //product thumbnails
    $avia_config['imgSize']['shop_thumbnail'] 	= array('width'=>120, 'height'=>120);
    $avia_config['imgSize']['shop_catalog'] 	= array('width'=>450, 'height'=>450);
    $avia_config['imgSize']['shop_single'] 		= array('width'=>450, 'height'=>999, 'crop' => false);

    Cheers!
    Ismael

    #331164

    Great, works !

    Or you can edit config-woocommerce > config.php. Find and remove this line of code:

    Many thanks, Ismael.

    :-)))))

    Cheers!

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Too many image resized as uploading any image ? (part 2)’ is closed to new replies.