• Resolved fifthcup

    (@fifthcup)


    I have a post that contains an image, but it doesn’t have a Featured Image set. I would have expected no featured image to appear, but it’s picking the image from within the post and displaying it above my post. Is this expected behavior, or did I miss a setting for this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Robin Cornett

    (@littlerchicken)

    Do you have a link you can share with me so I can see the affected page? Although the Genesis Framework has code in place to select an image from your post to use as a thumbnail (on archives, mainly), that does not apply to the featured images output as banners or large images with this plugin. If you can share a link, I may be able to check if there is something going on, although I may not be able to tell just by looking at the output.

    One possibility is if you have this same image assigned to the term, content type, or as a default for the site. The plugin does have logic in place to check through potential “fallback” images (if, for example, you want all pages to have the same banner image). You would want to check any related terms, and the plugin settings (under Content Types, or the main tab for the default) to see if that’s a possibility.

    Thread Starter fifthcup

    (@fifthcup)

    Hi Robin,

    https://ericcwagner.com/ is the website. You’ll see on the homepage the image within the first post, which has no featured image selected, displays like a featured image on the home page. But if you drill into the post you’ll see it correctly doesn’t display a featured image. The 2nd post about the Apple Watch correctly shows the selected featured image on both the home page as well as the post page.

    All of the plugin settings are your defaults, except I changed the Advanced hook setting to position the image after the title.

    Plugin Author Robin Cornett

    (@littlerchicken)

    Oh, I see what you are experiencing. I thought you were having issues with the post image showing as the featured image on the singular post output.

    On the archives, that behavior is actually coming from the Genesis Framework itself: if no featured image is set, the framework will use the first image “attached” (or uploaded to the post) as the featured image for any archive thumbnails. If you want, you can modify this behavior by looking for the genesis_get_image_default_args filter added in the framework and modifying the fallback value. This plugin will modify the archive thumbnails if there is no attached image and a term or post type image is set, but it will not override the framework behavior to use the first attached image in this situation. Hope that helps clarify–

    Thread Starter fifthcup

    (@fifthcup)

    Ahh, that makes sense! Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Picking any image if Featured Image isn’t set’ is closed to new replies.