safecracker

Member

Forum Replies Created

  • In reply to: Multiple server thumbnail images being created.. help!

    #14646

    Syahir,

    That worked GREAT, (thank you!!) with just one exception. :-/

    For some reason, it is still creating one additional banner sized 960×198 image each time an image is added or uploaded using the WP media uploader.

    (post or other)

    Is there a way to eliminate that banner sized extra image? (anything to do with the featured image perhaps?)

    Thank you so much!!

    http://www.kentuckyhorsecountry.com is my site FWIW. (Thanks Kim)

    In reply to: Multiple server thumbnail images being created.. help!

    #14643

    I think I can say where the issue is coming from, if someone can help me with the code..please!!

    In my Graphene functions.php file,

    // Add custom image sizes
    $height = ($graphene_settings['slider_height']) ? $graphene_settings['slider_height'] : 240;
    add_image_size('graphene_slider', apply_filters('graphene_slider_image_width', 660), $height, true);
    add_image_size('graphene_slider_full', apply_filters('graphene_slider_full_image_width', 930), $height, true);
    add_image_size('graphene_slider_small', apply_filters('graphene_slider_small_image_width', 445), $height, true);
    add_image_size('graphene-homepage-pane', apply_filters('graphene_homepage_pane_image_width', 451), apply_filters('graphene_homepage_pane_image_height', 250), true);

    That is what is generating the extra images on my server for each photo uploaded, totaling about 7 or 8 per single photo inserted into a post!

    How can I turn this off please?

    (I have the slider disabled for my theme.)

    I found some code to turn off ALL thumbnails, (works fine in my child theme)

    add_filter('intermediate_image_sizes_advanced','stop_thumbs');
    function stop_thumbs($sizes){
    return array();
    }

    but that is not what I want, just those extra “custom” sizes is all.

    I know nothing about coding/css but I’m handy at copy/paste!

    Thanks guys so much!

    In reply to: Multiple server thumbnail images being created.. help!

    #14642

    Ken, thanks for the tip. Something is suspect through with the sizes being created.

    Two are always near perfect banner sizes. ThIs leads me to think the theme is the issue.

    I will try what you suggested, as well as switch themes and try uploading a photo to see if it duplicates as in Grapene

    It’s a GREAT theme, I’d so hate to not use it for this, if it’s the problem.

    I’ll get back with my results tonight.

    Thank you again!

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