• How do I add a thumbnail to my teasers? I added a post image to the post, but that makes that image have to be the first thing in the post, which I do not want. I tried adding an image url to a Post as that posts Thumbnail, (which does work inserting that image into the teaser), but it inserts it large! Which means I would have to make a new sizes image for each post thumbnail image to be small enough and added it separately with its own url. AH! Any advise on just being able make an image from within the post the post teaser thumbnail?

    http://www.paintersjourneyblog.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kforeman

    (@kforeman)

    Thank you Esmi, but that link doesn’t tell me anyway to achieve the goal other than having to save a separate image to load its url as the thumbnail for each post, since I do not want to load a “post image” tied to each post that has to display at the top of post.

    Try re-reading the page at the link above.

    1) Enable Post Thumbnail support
    2) Define a custom image size to display with your Post excerpts, using add_image_size( 'excerpt-thumbnail', $w, $h ); in functions.php
    3) Wherever you output your Excerpts (via the_excerpt()), add a call to the_post_thumbnail(), e.g. change this:

    <?php the_excerpt(); ?>

    To this:

    <?php the_post_thumbnail( 'excerpt-thumbnail' ); ?>
    <?php the_excerpt(); ?>

    4) Upload/Attach an image, and assign it as the “Featured Image”

    And also: what Esmi said. That Codex page is your friend.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Teaser Thumbnail Image???’ is closed to new replies.