ImageGallery top nav

Talk about new features for CMSMS and modules.
Post Reply
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

ImageGallery top nav

Post by Greg »

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?

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";
Greg
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm
Location: North West England

Re: ImageGallery top nav

Post by Russ »

Hi Greg, I think that is quite a good idea, obviously you can just add this yourself :-) for the moment, but the ImageGallery code wil no longer be a plugin but is to go in the core of CMS made simple, so I guess it is for Ted to add this?

Russ
Post Reply

Return to “Feature ideas”