[Plugin: NextGEN Gallery] Image Browser Customisation – Page Reload
-
I am a code novice and I am trying to do my customisation by myself, just to save some money :p
I am trying to customise the way how NGG imagebrowser works. It will reload the page, whenever I click the NEXT or BACK button,.
But when the page reload, it will go to my header instead of stick to the NGG photos in my post.
This is the post where I have the NGG image browser.
Following is part of the new code on my imagebrowser.php:<div class="pic"><a href="<?php echo $image->next_image_link ?></a><?php echo $image->href_link ?></div> <div class="ngg-imagebrowser-nav"> <div class="back"> <a href="<?php echo $image->previous_image_link ?>">◄ <?php _e('Back', 'nggallery') ?></a> </div> <div class="next"> <a href="<?php echo $image->next_image_link ?>"><?php _e('Next', 'nggallery') ?> ►</a> </div> <div class="counter"><strong><?php echo $image->alttext ?></strong> <br /><?php _e('Picture', 'nggallery') ?> <?php echo $image->number ?> <?php _e('of', 'nggallery')?> <?php echo $image->total ?> <br /> Click <strong>"Next" </strong>for more pictures</div> <div class="ngg-imagebrowser-desc"><p><?php echo $image->description ?></p></div> </div>
Can anyone help to keep my screen fix in the position of the image browser section?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘[Plugin: NextGEN Gallery] Image Browser Customisation – Page Reload’ is closed to new replies.