• Resolved simple2

    (@simple2)


    Hi there,

    Great plugin, it was exactly what we were looking for!
    I have one issue with setting the image they upload as the Featured Image. It shows up in the post as a small thumbnail, even though I’ve clicked on “Set submitted images as Featured Images. Requires theme support for Featured Images (aka Post Thumbnails).”

    I’d like the image to display at the top of the post, and stretch across the width of the post as my other Featured Images do.

    How would I fix this?

    Thanks so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hi simple2, glad to help. USP’s Featured Image setting uses WP’s set_post_thumbnail. It simply grabs the first uploaded image and literally does this:

    set_post_thumbnail($post->ID, $attachment->ID);

    From there, it’s entirely up to your theme template to display (or not) the Featured Image however on the frontend. It sounds like your theme may not be using the post-thumbnail functionality for the “stretched” images you describe. You may want to ask your theme developer and see if they are able to help.

    Thread Starter simple2

    (@simple2)

    Thanks for your quick reply, Jeff!
    Appreciate it.

    This is good to know. I’ll see what I can do about adjusting the theme’s settings, or just simply open the pending post and add the photo as a featured image myself.

    Thanks again! Great plugin!

    Plugin Author Jeff Starr

    (@specialk)

    Sounds like a plan! Good luck, simple2!

    Thread Starter simple2

    (@simple2)

    Sorry, one more thing: is it possible to play around with this code to make the photo display at a larger size?

    %%title%%

    Do I change the values of width=”%%width%%” and height=”%%height%%” to something like width=”1500px” height=”500px”?

    Plugin Author Jeff Starr

    (@specialk)

    Exactly, but don’t include “px” – just the numbers for either value.

    Thread Starter simple2

    (@simple2)

    That worked perfectly!
    Thanks Jeff!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Featured image issue’ is closed to new replies.