New Landing How can we help? Themeforest Theme Support Dante Image sizes created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Dante
  • #52123
    this_is_gav
    Member
    Post count: 30

    Hi, having come from another theme to Dante, I’ve got eleven million sizes of each image (may be a slight exaggeration.

    I’ve got the following image sizes for every image:

    94×70
    96×72
    150×128
    220×150
    250×250
    350×262
    600×450
    800×600
    900×675
    1024×768
    1200×630
    1280×720
    1280×960

    I don’t know if this is carrying over from the previous theme, but this is rather excessive (each image uploaded is converted to 13 other sizes), making, for example a 244kb image take up an additional 1.2mb as well as the original image.

    I know some of these sizes are necessary, but why are there so many other sizes, and is it possible to reduce the number?

    Thanks in advance.

    #52376
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    This does not happen for us, it must be something else you have installed. Check your plugins, maybe it’s one of them.

    – Kyle

    #52377
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    These size of images are from previous theme because we did not created these sizes for dante theme . Dante create images on the fly .

    With Best Regards
    Swift Ideas

    #66314
    this_is_gav
    Member
    Post count: 30

    I’d just like to reopen this, as I’ve decided to restart my site from scratch, and this is still happening.

    To test this, I’ve made a brand new, pure WordPress install. No plugins, only installed Dante and the child theme and enabled permalinks.

    I’ve added 2 photos to the “Hello world!” post to test it, and I’ve got the original 2 photos (beach-clean-up-1.jpg and beach-clean-up-2.jpg), but I’ve also got 10 different sizes of each image (see the attachment).

    I assumed it was one of my plugins, but I couldn’t narrow it down – that’s not a surprise when it’s clearly the theme itself which is generating them.

    #66365
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey, that’s strange, as in functions.php the image sizes created are only the eight following

    	/* THUMBNAIL SIZES
    	================================================== */  	
    	set_post_thumbnail_size( 220, 150, true);
    	add_image_size( 'widget-image', 94, 70, true);
    	add_image_size( 'thumb-square', 250, 250, true);
    	add_image_size( 'thumb-image', 600, 450, true);
    	add_image_size( 'thumb-image-twocol', 900, 675, true);
    	add_image_size( 'thumb-image-onecol', 1800, 1200, true);
    	add_image_size( 'blog-image', 1280, 9999);
    	add_image_size( 'full-width-image-gallery', 1280, 720, true);

    so the 1024 size for example is not part of the theme’s code. Maybe it’s wordpress’ core image sizes then.

    Cheers

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register