danielmonk
Forum Replies Created
-
Hi there, I have tried the default template and the issue still persists.
Within the lightbox effects settings I can see:
What effects would you like to use:- None
- Fancybox – SELECTED
- Shutter
- Shutter Reloaded
- Thickbox
- Custom
What must the lightbox be applied to:
- Only apply to NextGen images – SELECTED
- Only apply to NextGen and WordPress images
- Try to apply to all images
- Try to apply to all images that link to images files
[ No bumping please. ]
Here is the code for my custom gallery template for reference:
<?php
/**
Template Page for the gallery overviewFollow variables are useable :
$gallery : Contain all about the gallery
$images : Contain all images, path, title
$pagination : Contain the pagination contentYou can check the content when you insert the tag <?php var_dump($variable) ?>
If you would like to show the timestamp of the image ,you can use <?php echo $exif[‘created_timestamp’] ?>
**/
?>
<?php if (!defined (‘ABSPATH’)) die (‘No direct access allowed’); ?><?php if (!empty ($gallery)) : ?><div class=”ngg-galleryoverview ngg-template-caption” id=”<?php echo $gallery->anchor ?>”>
<!– Thumbnails –>
<?php $i = 0; ?>
<div class=”row”>
<?php foreach ( $images as $image ) : ?><div id=”ngg-image-<?php echo $image->pid ?>” class=”col-md-3 col-sm-6 col-xs-12 ngg-gallery-thumbnail-box” <?php echo $image->style ?> >
<div class=”ngg-gallery-thumbnail” >
imageURL) ?>”
title=”<?php echo esc_attr($image->description) ?>”
<?php echo $image->thumbcode ?> >
<?php if ( !$image->hidden ) { ?>
<img title=”<?php echo esc_attr($image->alttext) ?>” alt=”<?php echo esc_attr($image->alttext) ?>” src=”<?php echo nextgen_esc_url($image->thumbnailURL) ?>” <?php echo $image->size ?> />
<?php } ?>
<span class=”cover”></span>
</div>
<span class=”caption”><?php if (!$image->hidden) { echo $image->caption; } ?></span>
</div>
<?php if ( $image->hidden ) continue; ?>
<?php if ( $gallery->columns > 0 && ++$i % $gallery->columns == 0 ) { ?>
<br style=”clear: both” />
<?php } ?>
<?php endforeach; ?>
</div>
<!– Pagination –>
<?php //echo $pagination ?></div>
<?php endif; ?>
I’ve also reinstalled the plugin, reset the gallery template back to the default but again, still not working correctly.
Hi, thanks for your response.
I have just now deactivated all of the plugins and changed the theme and none of these have fixed the issue, the lightbox is STILL not working.
Please can you show a suitable solution for this? Something must have changed as the functionality would not stop working for no reason? Are there any files I should be checking to make sure they are being enqueued or any files which could be missing related to the lightbox functionality?
Thanks
hello, any updates?
Hello,
Thanks for your response, I have a development copy of the site which is not accessible to the outside world, in which I have updated the plugin to the latest version in order to see if this would fix the issue, unfortunately still encountering the same problems. No server changes have been made. Would you be able to help troubleshoot the issue? There are not really any options within the plugin settings for the fancybox, other than changing the choice of displays, that would cause this aspect to break? Have tried adding another gallery to test the fancybox aspect also, but still not loading the fancybox correctly and opening the image in a new tab. No errors are being recorded within firebug so not sure what the issue could be?Thanks