ImageGallery top nav
Posted: Sun Mar 19, 2006 3:35 pm
It would be great if the ImageGallery tag inculded navigation above the image as well as below, then you wouldn't have to scroll down with larger images to navigate.
Could the following code be added to the core module (function.ImageGallery.php) at line 114 please?
Could the following code be added to the core module (function.ImageGallery.php) at line 114 please?
Code: Select all
// top nav
$output .= '<p class="bigPicNav">Image ' . ($_GET['img']+1) . ' of ' . sizeOf($liste) . '<br />' . "\n";
$output .= ($_GET['img'] == 0) ? "" : "<a href='" . $self . "&img=" . ($_GET['img']-1) ."'> < Previous</a> | ";
$output .= "<a href='" . $self . "'>Index</a>";
$output .= ($_GET['img'] == (sizeOf($liste)-1)) ? "" : " | <a href='" . $next . "'>Next > </a>";
$output .= '</p><br />' . "\n";