'. esc_html($title) .'';
$html = '';
if( !empty( $overlay ) ){
$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 '
 .')
'. $html .'
';
break;
case 'large_image':
echo '
';
break;
case 'lightbox':
echo '
';
break;
case 'custom_link':
if(isset($custom_links_arr[$i])){
echo '
';
}else{
echo '
 .')
'. $html .'
';
}
break;
}
}
echo $ul_end;
}
?>
'.$output.'';
if($type == 'image_masonry') kc_js_callback('kc_front.image_gallery.masonry');