I see on this site under the ‘Lightcase’ info that the sample galleries have the correct navigation icons for Firefox and Chrome. I’m not sure how to tell what version of Lightcase is within my Global Gallery plugin. Do I need to purchase the Lightcase extension from this site? This is all a bit confusing.
Here is the php code in the lightboxes.php file in Global Gallery plugin for Lightcase if that helps…
case 'lightcase':
$css_path = '//dfactory-53eb.kxcdn.com/lightcase/src/css/lightcase.min.css';
$js_path = '//dfactory-53eb.kxcdn.com/lightcase/src/js/lightcase.min.js';
wp_enqueue_script('gg-lb-jquerytouch', GG_URL .'//dfactory-53eb.kxcdn.com/js/lightboxes/lightcase/vendor/jQuery/jquery.events.touch.js', 99, GG_VER, true);
break;
<?php break;
case 'lightcase' : // LIGHTCASE - min jQuery 1.7 ?>
jQuery.each(Object.keys(gall_obj), function(i, v) {
var obj = gall_obj[v];
jQuery('#gg_lb_gall').append('<a href="'+obj.img+'" title="'+obj.title+'" data-rel="lightcase:'+rel+'">'+ obj.descr +'</a>');
});
jQuery('#gg_lb_gall > a').lightcase({
transition : '<?php echo get_option('gg_lightcase_anim_behav', 'scrollHorizontal') ?>',
speedIn : <?php echo (int)get_option('gg_lb_time', 400) ?>,
speedOut : <?php echo (int)get_option('gg_lb_time', 400) ?>,
maxWidth : '<?php echo get_option('gg_lb_max_w') ?>%',
maxHeight : '<?php echo get_option('gg_lb_max_h') ?>%',
overlayOpacity : <?php echo ((int)get_option('gg_lb_opacity') / 100) ?>,
slideshow : true,
slideshowAutoStart: <?php echo (!get_option('gg_lb_slideshow')) ? 'false' : 'true'; ?>,
timeout : <?php echo (int)get_option('gg_lb_ss_time', 4000) ?>,
type : 'image'
});
jQuery('#gg_lb_gall > a:eq('+ clicked_index +')').trigger('click');
jQuery('#lightcase-overlay').addClass('gg_lc_ol');