postImage()

Description

Generates an tag with the post's image. If the post does not have an image, then an empty string is returned.

Example output:

<img src="http://www.domain.com/cms/files/blog/post-slug/post_image.jpg" alt="" />

Usage

<?php 
    echo postImage(); 
?>