I am using the [imagebrowser=id] in a page. When I click on a picture, instead of open any pop-up window or a new browser tab, I'd like to simply go to the next picture.
Any ideas would be most grateful!
I am using the [imagebrowser=id] in a page. When I click on a picture, instead of open any pop-up window or a new browser tab, I'd like to simply go to the next picture.
Any ideas would be most grateful!
Hey ... is there anybody here?
open view/imagebrowser.php and change this line:
<div class="pic"><?php echo $image->href_link ?></div>
with:
<div class="pic">next_image_link ?>"><img alt="<?php echo $image->alttext?>"src = "<?php echo $image->imageURL ?>"/></div>
A slightly expanded version worked for me:
<a class="ngg-browser-next" 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>
This topic has been closed to new replies.