get_gallery_attachment_ids(); if ( $attachment_ids ) { ?>
%s', $image_link, $image_class, $image_title, $image ), $attachment_id, $post->ID, $image_class ); $loop++; } ?>