We're merging with GenerateBlocks! Learn more here.

[Resolved] Featured Image display bug

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Featured Image display bug

  • This topic has 5 replies, 2 voices, and was last updated 4 years ago by Tom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11996
    Gwen
    Participant

    I uploaded a new image to use as a featured image on a post and chose it as the featured image, but on the front-end it doesn’t display: the source shows “img(unknown)”. All previous posts are displaying their featured images correctly.

    1. I can use that same new image within the article itself, so it’s not a problem with the image file or path.
    2. I can select a PREVIOUSLY UPLOADED (several months ago) image as the featured image and it WILL display properly on the frontend.

    OR…

    3. I can remove the Image Width setting in WP Show Posts (leaving it blank), use CSS to set the width for the featured images, and THEN the newly-uploaded image WILL display properly on the frontend.

    So there is something funky going on…

    #12011
    Tom
    Keymaster

    Hi there,

    The image width/height options will only work if the image is coming from the current website/URL, so it will break if that URL is coming from a CDN or something similar. I can check if you want to disable the height/width options and link me to the page.

    Let me know 🙂

    #12021
    Gwen
    Participant

    Hi Tom,

    Here’s the page. The image IS coming from the website. This (2nd post down) is what is happening when I use a newly-uploaded image for the featured image and have the image width set to 300 in WP Show Posts.

    Thank you!

    #12094
    Tom
    Keymaster

    So are the image sizing options in effect right now? The URLs do look good, so my initial guess wasn’t right. It could be that your server isn’t able to resize the images using the method we use in WPSP. This is a good workaround: https://wpshowposts.com/support/topic/show-posts-images-not-working/#post-8324

    #12168
    Gwen
    Participant

    The client wouldn’t let me keep the broken image up, so by the time you were able to look at the page I’d once again reverted to removing the width selection in WP Show Posts and used CSS to size the image. (The image in question was already uploaded to WP at final size, but some of the other featured images were not.)

    Thanks for taking the time to consider this, Tom, but let’s let this one slide. I’m going to chalk it up to “hidden mysteries” with an inherited site…

    Thank you!

    #12188
    Tom
    Keymaster

    No worries! Sorry I couldn’t get back to you sooner.

    I don’t love how WPSP handles resizing images right now – a complete re-write of the image resizer is planned.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.