get_the_ID(),
'post_type' => 'attachment',
'orderby' => 'menu_order',
'post_mime_type' => 'image')
);
$thethumblb = '';
foreach ( $attachments as $att_id => $attachment ) {
$getimage = wp_get_attachment_image_src($att_id, 'entry-gallery', true);
$thumbimage = $getimage[0];
$thumbwidth = $getimage[1];
$thumbheight = $getimage[2];
$cf_thumb2 ='
';
$thethumblb .= '
'.$cf_thumb2.'';
}
if($thethumblb!=''){
$thethumblb = '
';
}
?>