Extract & Display the REAL first image attached to a post – extend the_post_thumbnail()

I suggest to check out Get the Image plugin. Basically it is single function that acts as flexible and configurable wrapper to mine posts for images via different methods (post meta fields, featured images, attached images, images in post body).

tech