Retrieve Post Image or Thumbnail

This document is deprecated! The information on this page refers to a Thesis version that is now obsolete. Please visit the User’s Guide home page for current documentation.

Code snippet to retrieve the post image or thumbnail (renders default output):

// Post Image

$post_image = thesis_post_image_info('image');
echo $post_image['output'];

// Thumbnail

$post_image = thesis_post_image_info('thumb');
echo $post_image['output'];