WordPress.org

Ready to get started?Download WordPress

Forums

Post Thumbnails (4 posts)

  1. ajmaxwell
    Member
    Posted 2 years ago #

    Hello,

    I'm fairly new to the WordPress frame work and I'm having some difficulties with Post Thumbnails.

    What I'm trying to do is have 2 images, 1 be the large image that is displayed on the post's page, and a second image is the post's thumbnail.

    Is there a way I can tell WordPress to use one image as the thumbnail, and a different image as the "Featured Image"?

  2. Yes on your index.php for example you could call
    the_post_thumbnail('thumbnail');
    and on your single.php you could call the_post_thumbnail('medium');

    the_post_thumbnail('large');
    and
    the_post_thumbnail('full');

    are also available.

    The sizes for these are set under Settings > Media

  3. ajmaxwell
    Member
    Posted 2 years ago #

    I've got that setup, but what I'm having issues doing is actually setting the images as the different sizes in the "Gallery" tab in the "Featured Image" pop up thingy.

    I have uploaded an image that is 50x50 and I've set the thumbnail sizes to 50x50 in Settings > Media. But it won't let me make an image, that's not the featured image, the thumbnail. I can only set my larger image as the thumbnail or the full size, but I can't set the smaller image as the thumbnail.

  4. I don't think you can do that. That's not how the gallery works. The gallery automatically creates thumbnails and uses those in the gallery as you describe. I don't think there's a way to use different thumbnails.

    In the past, what I've done for "picky" clients is for a few thumbnails that weren't cropped properly, I went and grabbed the thumbnail via ftp, replaced it with my better cropped image and re-uploaded it in the uploads folder making sure that the naming stays the same. That's fine for one or two images, but obviously not ideal.

Topic Closed

This topic has been closed to new replies.

About this Topic