Hi there,

I want to create a CCK type that's automatically broken up over multiple pages, for use as a "photo essay" content type. The user would have a form with 10 image fields. When they fill it in and submit it, the node would display one image per page and have a pager at the bottom of the image. Essentially creating a photo gallery.

The paging module lets users add pagebreaks into the content field of their nodes. That's too limiting. I need a php code snippet I can drop into my custom template to trigger a pagebreak. If you can make this for me I will paypal you $10.

I believe the pager function http://api.drupal.org/api/file/includes/pager.inc/ will let me do this.

However I have no clue what anything on that api page means and there are no usage examples.

Thanks.

Comments

klapper’s picture

I guess "pager" won't help you, but it can be done with "Views".

Edmund
---
I do Drupal Modules, Theme Development and Migrations. Send a private message or visit http://katp.de (a german site) and let's see, if i can help you.

bflora’s picture

I don't see how Views would let me do that. Would I be embedding a view inside the node? Still, how would I be breaking that up? I want one node broken up over multiple pages, not several nodes.

bflora’s picture

Still looking for this.

vivianspencer’s picture

You should be able to do this using http://drupal.org/project/imagefield_gallery, you'd have to take advantage of the theme overrides that come with it to limit the images to one per page

Or alternatively you could use a slideshow module like http://drupal.org/project/couloir_slideshow which would give you the same functionality but with a much nicer look and feel

Let me know if I've totally missed the plot

- Vivian

bflora’s picture

Does imagefield gallery have pagination? I was under the assumption that it just listed all your photos as thumbnails and let you expand them using thickbox or lightbox or whatever.

I kind of understand why people like those effects, but they're useless from a business standpoint. Image galleries = pageviews. I need a way to let my users page through full-size images.