'. esc_html($title) .''; $html = ''; if( !empty( $overlay ) ){ $html = '
'; if( !empty( $icon ) ) $html .= ''; $html .= '
'; } ?>
> Images Gallery: No images found'; }else{ $pretty_id = rand(434,43463453); echo $ul_start; foreach($attachment_data as $i => $image){ $alttext = ''; if( isset($atts['alt_text']) && $alt_text == 'yes') $alttext = get_post_meta( $images[$i], '_wp_attachment_image_alt', true); switch( $click_action ){ case 'none': echo '
' . $alttext .''. $html .'
'; break; case 'large_image': echo '
' .'' . $alttext .''. $html .'
'; break; case 'lightbox': echo '
' .'' . $alttext .''. $html .'
'; break; case 'custom_link': if(isset($custom_links_arr[$i])){ echo '
' .'' . $alttext .''. $html .'
'; }else{ echo '
' . $alttext .''. $html .'
'; } break; } } echo $ul_end; } ?>
'.$output.''; if($type == 'image_masonry') kc_js_callback('kc_front.image_gallery.masonry');