/home/suroeste/public_html/wp-content/themes/ewebot/templates
Edit: /home/suroeste/public_html/wp-content/themes/ewebot/templates/pixproof_gallery.php (3858B)
ID, $thumbnails_size);
$image_full = wp_get_attachment_image_src($attachment->ID, 'full-size');
$thumb = wp_prepare_attachment_for_js($attachment->ID);
//lets determine what should we display under each image according to settings
// also what id should we assign to that image so the auto comments linking works
$image_name = '';
$image_id_tag = '';
if(isset($photo_display_name)) {
switch($photo_display_name) {
case 'unique_ids':
$image_name = '#'.$attachment->ID;
$image_id_tag = 'item-'.$attachment->ID;
break;
case 'consecutive_ids':
$image_name = '#'.$idx;
$image_id_tag = 'item-'.$idx;
break;
case 'file_name':
$image_name = '#'.$attachment->post_name;
$image_id_tag = 'item-'.$attachment->post_name;
break;
case 'unique_ids_photo_title':
$image_name = '#'.$attachment->ID.' '.$attachment->post_title;
$image_id_tag = 'item-'.$attachment->ID;
break;
case 'consecutive_ids_photo_title':
$image_name = '#'.$idx.' '.$attachment->post_title;
$image_id_tag = 'item-'.$idx;
break;
}
} else {
//default to unique ids aka attachment id
$image_name = '#'.$attachment->ID;
$image_id_tag = 'item-'.$attachment->ID;
} ?>