• Hello,

    Going through my blog today I noticed that some old posts’ featured images were missing on the front end only, while other posts show just fine.

    Not showing example: https://jpawlik.com/blog/2018/11/14/43/
    The image is 650 by 975 pixels

    Showing example: https://jpawlik.com/blog/2020/12/04/6267/
    The image is 1198 by 1797 pixels

    I’m using this additional CSS
    .single-post.content-max-width .thumbnail {
    text-align: left;
    }
    .single .thumbnail img {
    width: auto;
    }

    .blog-entry.post .thumbnail img {
    width: left;
    width: auto;
    }

    I’ve tried removing the code and these posts still look the same. I’ve noticed that on other posts, featured images that are smaller than the ones in question will also show so I don’t think it’s an issue of size but I included that just in case it is. The issue happens on both the archive and the single posts.

    The only work around I’ve found so far is to put the featured image in the body of the post as media, but I have 152 pages of this blog that would be quite an undertaking to fix every single one.

    Any help is much appreciated, thank you!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @jeypawlik,

    Some posts, like this one https://jpawlik.com/blog/2018/11/14/43/ , don’t return the markup for a featured image. Does this post have a featured image assigned in the Post settings?

    As for featured image dimensions, it’s a WP recommendations for images to be 1200px X 657px.

    As you can also see here, if you have a featured image assigned, it’s not returning from your server at all: https://postimg.cc/dDXKj8vW

    The only image coming from your website is the top banner image, so this is not something that can be fixed with CSS, and also theme unrelated I’m afraid.

    Did you perhaps use images from a third-party source? Did you delete some images when optimizing the database perhaps? Did you add some PHP codes or used custom post types for these?

    Thread Starter jeypawlik

    (@jeypawlik)

    Oh you know, now that I look at it the ones not showing up were all imported from tumblr.

    I did look at it using various other themes, some had the same issue and some did not. I suppose I’ll have to see if I can find a work around. Thanks for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Some featured images not showing’ is closed to new replies.