I'm using image_gallery.module for this site - http://www.parkyarden.co.il/image/tid/12
each image is presented in a node like this example - http://www.parkyarden.co.il/node/100
i just need a pager now to present next and previous links.

i read about custom pager and i did the following steps:
1.installed the module.
2.created a view that display image fields with the argument of node id.
3.configured custom pager to use this view with node argument id

what i got now is "1 of 1" below each image node which is wrong , and i also don't have previous and next links.

what is wrong here?

Comments

joachim’s picture

You don;t use the view to actually look at your content -- just look at the nodes.
The view merely provides a list for the pager to work with. It should give the whole list of things you want to page, not just the current one -- so remove the argument.
Also, you need only return the nid, so use that field rather than image.

joachim’s picture

oh, and if you figure this out, please share at #61704: setting up Custom Pagers to allow browsing next/previous image in gallery and in the image module documentation :D

jenpasch’s picture

I got almost there by following these instructions http://drupal.org/node/371358
however, that pages through ALL images...need to figure out how to filter by image gallery...