Editor's Choice
have_posts()) : $my_query->the_post();
?>
ID, 'image', true);
if ( $post_image ) {
$img = get_bloginfo('template_directory') . "/thumb.php?src=" . str_replace('http://'.$_SERVER['HTTP_HOST'], "", $post_image) . "&h=364&w=292&zc=1&q=100";
}else{
$post_image = get_bloginfo('template_directory') . "/images/noimage.jpg";
$img = get_bloginfo('template_directory') . "/thumb.php?src=" . str_replace('http://'.$_SERVER['HTTP_HOST'], "", $post_image) . "&h=364&w=292&zc=1&q=100";
}
?>