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

  1. romme
    Posted 10 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 10 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:


Topic Closed

This topic has been closed to new replies.

About this Topic