getPostImage()
Description
Returns the post's image as string, either with full URL or just the file name (default).
Example output:
http://www.domain.com/cms/files/blog/post-slug/post_image.jpg
post_image.jpg
Usage
<?php $post_image= getPostImage( $full_url ); ?>
Parameters
$full_url
- true or false
- optional (false is default)
If set to true, then the URL/absolute path to the image will be included.
Examples
With full URL
<?php $post_image= getPostImage( true ); ?>