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