WordPress.org

Ready to get started?Download WordPress

Forums

How to show inline uploaded thumbnail i post excerpt (2 posts)

  1. romme
    Member
    Posted 8 years ago #

    The inline image upload feature of WP2 seems pretty cool, but to make real use of it, I would like to be able to automatically show the thumbnail of the image I've uploaded when the excerpt of a post is displayed in my blog. What code do I need to add to my template for this to work? Maybe someone know of a plugin that solves my question?

    I guess I'm basicly looking for a bit of code that can show the inline uploaded thumbnail if the post has any uploaded images. I do not want the image tag to be a part of the post's content.

    Any good ideas?

  2. Kafkaesqui

    Posted 8 years ago #

    You could place the image (in an <img> tag) in the excerpt field of your post. That would display the image when using the_excerpt() template tag.

    Alternatively, my Post Image plugin might work for your needs:

    http://guff.szub.net/2006/02/09/post-image/

Topic Closed

This topic has been closed to new replies.

About this Topic