Urgent problem: Number of images created out of control

Home Forums WordPress Theme Support BfastMag Pro Urgent problem: Number of images created out of control

This topic contains 11 replies, has 2 voices, and was last updated by  Christopher 4 years, 8 months ago.

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

    Christopher
    Spectator

    After moving my WordPress site to another host because I was running out of space, I find myself about to run out of space again thanks to your theme.

    More specifically, because of the number of images the theme creates when I upload a post.

    For example, a recent post included 5 images.

    When I looked in the public_html/wp-content/uploads folder where the images are stored, those 5 images had grown to 102 variations ranging in size from 925 bytes to 168kb.

    The size of the images is not the issue, it is the number of them.

    Each images uses 1 x inode and I am running out of inodes – my host limit is 200,000.

    To address this issue I have as suggested:

    1. Set the default WordPress image sizes in Settings>Media to “0 (zero)”;

    2. Edited the functions.php file in the theme folder to remove the following lines of code:

    “add_image_size( ‘bfastmag_single_slider’, 1175, 520, true );
    add_image_size( ‘bfastmag_single_grid’, 778, 544, true );
    add_image_size( ‘bfastmag_small_grid’, 377, 165, true );
    add_image_size( ‘bfastmag_blk_small_thumb’, 170, 110, true );
    add_image_size( ‘bfastmag_blk_small_thumb_no_crop’, 170, 110 );
    add_image_size( ‘bfastmag_sb_small_thumb_no_crop’, 90, 70 );

    add_image_size( ‘bfastmag_blk_big_thumb_grid’, 426, 250, true );
    add_image_size( ‘bfastmag_blk_big_thumb’, 370, 350, true );
    add_image_size( ‘bfastmag_blk_big_thumb_no_crop’, 370, 350 );

    add_image_size( ‘bfastmag_home_blk_6’, 275, 250, true );
    add_image_size( ‘bfastmag_related_post’, 288, 160, true );
    add_image_size( ‘bfastmag_blog_post’, 780, 442, true );
    add_image_size( ‘bfastmag_blog_post_no_crop’, 780, 442 );”

    The example I quoted with 5 images occured after I made these changes however suggesting they have had no effect whatsover.

    I cite another post with 6 images created prior to the changes which has 101 variations.

    Can you please respond and can you please help me address this situation?

    #10393

    Christopher
    Spectator

    Six (6) days and no answer.
    How urgent does it have to be???
    Your support sucks!

    #10394

    Raja CRN
    Keymaster

    Hello,

    We’ve provided enough support for you. Our theme has nothing to do with sudden images creation when you are moving to new host.

    We use WordPress default add image size feature to create images to fit into the theme layout. if you don’t want that images, Just comment out all add_image_size in that functions.php file

    For more info check: https://developer.wordpress.org/reference/functions/add_image_size/

    Thanks

    #10397

    Christopher
    Spectator

    We’ve provided enough support for you.

    I thought you provide lifetime support. That’s what you advertise.

    The problem it takes a lifetime for anyone to respond.

    Sometimes there’s no reponse at all — just look at the forum.

    I label my post “urgent” and it takes a week and two more requests to get a reponse.

    A good theme is nothing without good support. You have a good theme — you don’t have good support.

    The forum is useless because responses are either redacted or issues end up being solved outside the forum, so we users don’t get to see what or how you fixed a problem.

    I stopped WordPress from creating default images, as suggested.

    I tried removing the lines of code from functions.php as suggested.

    Doing so screwed up my site and I had to put them back in.

    There’s 13 image sizes specified in functions.php — yet for every image I upload 20 or more images are being created?

    Our theme has nothing to do with sudden images creation when you are moving to new host.

    Who said anything about moving to a new host?

    I’ve been with my current host for more than 12 months.

    Whatever the problem is, it stems from your theme and what it does when I upload an image.

    I need help to fix my problem and you’re not providing it!

    For more info check: https://developer.wordpress.org/reference/functions/add_image_size/

    I’m not a coder or programmer, that means nothing to me.

    #10398

    Raja CRN
    Keymaster

    Hello,

    Share your login details, We’ll remove those add_image_size functions.

    #10401

    Christopher
    Spectator

    Share your login details, We’ll remove those add_image_size functions.

    I told you I’ve already tried that. It screws up everything.

    #10402

    Raja CRN
    Keymaster

    Since You are not a programmer or coder, it might screwed you. Let us try.

    #10403

    Raja CRN
    Keymaster

    Appearance >Theme Editor is not allowed. So, We can’t remove those code.

    #10404

    Christopher
    Spectator
    This reply has been marked as private.
    #10405

    Raja CRN
    Keymaster

    Hello,

    We’ve updated the functions.php file. Hereafter, the WordPress core Add_Image_size function will not create any custom images needed for theme layout.

    Thanks

    #10406

    Christopher
    Spectator

    Hereafter, the WordPress core Add_Image_size function will not create any custom images needed for theme layout.

    Can you kindly explain how this will help?

    If the images are not created, then won’t this stop the theme from functioning as intended?

    #10450

    Christopher
    Spectator

    In case anyone is interested I solved this problem by migrating my images to an Amazon S3 Bucket.

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

Only Verified Customer of this Theme Can post reply to this Support Topic! .