hey Mark,
a simple way to do so it’s to get the first image attached to your post with a function :
function get_first_attachment() {
global $post;
$id = $post->ID;
$attachments = get_children( array('post_parent' => $id, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'DESC', 'orderby' => 'menu_order ASC') );
$tpl = get_bloginfo('template_url');
$nothing = $tpl.'/nothing.jpg';
if ( empty($attachments) )
return $nothing;
foreach ( $attachments as $id => $attachment )
$link = wp_get_attachment_url($id);
return $link;
}
paste this in your function.php template file, then simply create your html template page with it:
<!– put this inside the loops –>
<div class=”alignleft”><img src=”<?php echo get_first_attachment(); ?>” width=”150″ height=”150″></div>
<div class=”alignright”>
<!– your title, text and meta goes here –>
</div>
that is the principle…it took the first attachment linked to your post (no need to put it on the post body, just upload it and keep it in the gallery) and return it separatly.
a simpler way to do so is to use Press75 Simple Post Thumbnails plugin
First gives you more control, second ask you less mind effort,
up to you, cheers,
KL