'attachment',
'numberposts' => -1,
'post_status' => null,
'post_parent' => $post -> ID
);
$attachments = get_posts($args);
if ($attachments) :
echo '
';
foreach ($attachments as $attachment) :
echo '- ';
echo wp_get_attachment_image($attachment -> ID, 'large');
echo '
';
endforeach;
echo '
';
endif;
?>