Closed (duplicate)
Project:
Image
Version:
5.x-1.6
Component:
image.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2008 at 13:43 UTC
Updated:
2 Feb 2008 at 12:37 UTC
Are ther plans to introduce a paging system for the image module?
Similar to the pblog module (v 5x.1.3) where when you click on the thumbnail and view the larger image, a 'beginning', 'previous', 'next', 'end' paging system can appear below the image?
Comments
Comment #1
Romka commentedTo solve this task i'm use next code in node-image.tpl.php:
demo here: http://romka.eu/vid-na-oslo-iz-zamka-akerkhus
Comment #2
Hetta commentedI've just added all my images to various book pages (using outline). As in, I've created one book page per gallery, and added each image to that, for that gallery.
That gives paging automatically.
Comment #3
Jack_Sparrow commentedThanks Romka,
3 problems I've found...
1. I needed to remove the "}" before
print "<br><center>" . $prev . $curr . $next . "</center>";.IE 7 gives a
Parse error: syntax error, unexpected '}' in /path/node-image.tpl.php on line 352. All images appear as thumbnails when viewing the larger image, but I'm missing the actual current image which should be the original image.
3. I click on the 1st image in a gallery and IE 7 shows the standard red cross image to show that an image is missing. There shouldn't be a previous link if there is no previous image and likewise there shouldn't be a next image if you reach the last image in a gallery.
I looked at your example and see that yours works fine??? Perhaps it a theme problem... I'm using bluebreeze...
Thank you for your input, I hope we can fix this...
Thank you Hetta,
Unfortunately I'm running a community site and already have many images in various albums and galleries. I don't want to have to redo them as you described, although I'm sure it will work.
I think it'll be quicker to just add some code like Romka submitted...
Thanks again.
Comment #4
Hetta commentedmarked as a duplicate of http://drupal.org/node/214714