Viewing 1 replies (of 1 total)
  • Thread Starter dscoggins

    (@dscoggins)

    Figured it out. Under Plugins find/select “Editor”. Locate and edit the file “nextgen-gallery/view/imagebrowser.php” Move the div tag “<div class=”pic”><?php echo $image->href_link ?></div>” from just after “<h3><?php echo $image->alttext ?></h3>” to the bottom of the file just before the last “</div>”. The edited file is below.

    <?php
    /**
    Template Page for the image browser
    
    Follow variables are useable :
    
    	$image : Contain all about the image
    	$meta  : Contain the raw Meta data from the image
    	$exif  : Contain the clean up Exif data
    	$iptc  : Contain the clean up IPTC data
    	$xmp   : Contain the clean up XMP data 
    
     You 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 ($image)) : ?>
    
    <div class="ngg-imagebrowser" id="<?php echo $image->anchor ?>">
    
    	<h3><?php echo $image->alttext ?></h3>
    
    	<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('Back', '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('Next', 'nggallery') ?> ►</a>
    		</div>
    		<div class="counter"><?php _e('Picture', 'nggallery') ?> <?php echo $image->number ?> <?php _e('of', 'nggallery')?> <?php echo $image->total ?></div>
    		<div class="ngg-imagebrowser-desc"><p><?php echo $image->description ?></p></div>
    	</div>	
    
    	<div class="pic"><?php echo $image->href_link ?></div>
    </div>	
    
    <?php endif; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] Can I relocate navigation buttons in ImageBrowser?’ is closed to new replies.