[Plugin: NextGEN Gallery] AJAX issue in a custom template for ImageBrowser
-
Hi, I’m using the latest nextgen and wordpress. I have an issue with my current set up in the imagebrowser script. Instead of allowing the user to click on an image and see it ‘maximized’ i wanted to use that link as a way to go to the next image. Well I got that working just fine, but the problem is this… I have AJAX
enabled and it works fine when you use the arrow navigation but the image link acts as if AJAX is turned off and reloads the page.Here’s the link to the page: https://iliaovechkin.com/abouelala/?page_id=42
and here is the code i have in imagebrowser.php:
<div class="ngg-imagebrowser" id="<?php echo $image->anchor ?>"> <div class="pic"><a id="ngg-next-<?php echo $image->next_pid ?>" href="<?php echo $image->next_image_link ?>"><img alt="<?php echo $image->alttext ?>" src="<?php echo $image->imageURL ?>"/></a></div> <div class="ngg-imagebrowser-nav"> <div class="back"> <a class="ngg-browser-prev" id="ngg-prev-<?php echo $image->previous_pid ? >" href="<?php echo $image->previous_image_link ?>"><<?php _e('', 'nggallery') ?></a> </div> <div class="next"> <a class="ngg-browser-next" id="ngg-next-<?php echo $image->next_pid ?>" href="<?php echo $image->next_image_link ?>"><?php _e('', 'nggallery') ?>></a> </div> <div class="counter"><?php echo $image->alttext ?></div> <div class="ngg-imagebrowser-desc"><p><?php echo $image->description ? ></p></div> </div> </div>
Thank you for your help!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: NextGEN Gallery] AJAX issue in a custom template for ImageBrowser’ is closed to new replies.