Support » Theme: Blackoot Lite » Newly Uploaded Images Don't Scale Properly in Featured Images

  • Resolved ccrookston



    LOVE your theme! I’ve been using it for a long time on my photography site. However, after the most recent WP upgrade, I’ve found a problem. When I upload an image and use it as the Featured Image, the image doesn’t scale properly on the home page in the post previews. Take a look at the most recent (top) post:

    After some trouble shooting, I realized that this is happening with any NEW image that I upload. If I use previously uploaded images as the featured image, it works fine. And, if I download any previous image that works, rename it, and then re-upload it to the image gallery, and then use it as the featured image, it doesn’t work.

    Any suggestions? I really don’t want to have change themes, but I do need to get this resolved.


    Casey Crookston

    PS I am on v 1.1.8 of the theme

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author Mathieu Sarrasin


    Hi, and thanks for the kind words, glad you like this theme! 🙂

    From your description it is clear that something changed under the hood but I doubt this is related to a WordPress core update and I can confirm nothing related to this has changed in the theme itself since version 1.0.

    The usual suspects are plugins, which is what I suggest you look at first: can you try to temporarily disable ALL plugins and see if it makes a difference?
    If it helps then re-enable them one by one until things go wrong again to pinpoint which one is causing the issue (and once you found it you can either ditch it or try to tweak its settings if it has any).

    Please let me know how it goes, and if this makes no difference I’ll make sure to help you with further troubleshooting.

    Thanks for the prompt reply! I have not added any new plugins since this issue began to occur. But just to rule out any plugins, I turned them all off, then uploaded a new image, and made it a featured image. The problem persists.

    I would LOVE any help you can provide! Do you need an admin login for my site? If so, can we communicate privately?


    A quick check of the HTML on the rendered home page shows the problem. The newly uploaded featured images are showing up as width: 680, height: 300. While older images are width: 424, height, 300. Although I have no idea what is causing this.

    But even if I manually change the width in the “inspect” html (only on my computer, in the browser) it doesn’t solve the problem, because the image cropped and the aspect ratio is wrong.

    In the functions.php file, I found this:

    /* Post Thumbnails Support */
    add_theme_support( ‘post-thumbnails’ );
    set_post_thumbnail_size( 680, 300, true );

    Well, I changed:

    set_post_thumbnail_size( 680, 300, true );


    set_post_thumbnail_size( 424, 300, true );

    Then I removed the featured image from the post, deleted that image from the media gallery, renamed the image on my hard drive, re-uploaded the same image, and made it the featured image on the post. BAM! It’s working now.

    I REALLY don’t think I changed this. So I confused as to what happened. Sometime between September 15th, 2015 and yesterday, it would seem that that number changed in the function.php file.

    Any ideas?


    Theme Author Mathieu Sarrasin


    Hi again,

    Glad you could finally sort this out so quickly!

    I actually thought the issue was the other way around since 680 is and has always been the default in this theme! (as you can see from 1.0 at to 1.1.8 at on line 36 – 39 ).

    Now to try and explain what happened I can only think of two possible reasons:

    – Either you – or someone who helped you setup your site when you started it – changed this to 424 at some point before. This then reverted to the default 680 when you updated the theme since each update overwrite every file. (By the way this is why it is usually recommended to use a child theme instead of editing any file directly from the theme).

    – The other possibility I can think of would be that a plugin was overriding the default value, and at some point it was disabled or it just stopped working, so the default value from the theme started to apply.

    Hopefully one of these rings a bell and solves the mystery!

    I’m marking this thread as resolved but please feel free to reply or open a new thread if you have any other question.

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Do you need an admin login for my site? If so, can we communicate privately?

    Side note: Best not to go that route and I’m glad you sorted it out. 😉

    *Drinks coffee*

    Please don’t offer that access in these forums. I know you mean well but it’s never safe and anyone asking for that get a polite shoulder tap asking them to not repeat that again.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Newly Uploaded Images Don't Scale Properly in Featured Images’ is closed to new replies.