Family
foreach ($attachments as $attachment)
{
$image = wp_get_attachment_image_src($attachment->ID,$size="thumbnail");
// $icons.= '';
// $icons.= '' ;
// $icons.= '';
?>
} ?>