I want to create a slideshow/gallery. The images are uploaded with ImageField (one image per node) and the nodes (=images) are listed by Views.
Now, I want to limit the node listing to 1 node per page -- this is of course possible with Views + pagination option.
But is there a slideshow/gallery, that can be set on top of this? So that the slideshow/gallery fetches the next image?
Why?
There will be many images, I don't want them to all get loaded. Some users might only look at 5-10 pictures, no need to load all of the ~ 200-400 images.
So, if JavaScript is disabled, just show the normal Views listing - one image per page, with Views pager.
If JavaScript is enabled, show the gallery/slideshow.
Slideshow/gallery?
I want the user to be able to activate the slideshow, or to navigate manually (prev - next). The images should be linked to the nodes. And - important - it should not scroll to the top, when a new image gets loaded (so the gallery should always stay on the same place, no page reload, no size changing).
Comments
Maybe cck pager?
http://drupal.org/project/cck_pager
Demo:
http://www.psegno.it/cck_pager_photogallery
I am trying to build a photo blog style site with similar image navigation. I am not sure if this will work in my case.. I am tracking photo views & allowing content rating. each image is its own node. from there I am trying to use customer pagers, but cannot figure out how to get it working properly... its strange.. somehow it always limits you to a group of 10 photos. Right now, there is about 800.. so I really need to upgrade this on my site.
With CCK Pager, your node is
With CCK Pager, your node is the gallery. So you have to upload all the pictures to one node (multiple value field).
But I need a solution, where the content type is the gallery - so each node is an image.
http://drupal.org/project/lig
http://drupal.org/project/lightbox2
The gallery isn't a content type - it's just an alternative presentation method for Views, with one image per node as you want.
The closest thing is..
>so each node is an image.
I used the image module to create that content type*. I did this to enable image rating on my photoblog www.crsurfcam.com
From what I understand you could also do this with cck/imagefield. Simply define a field, call is mainimage, limit it to 1, require it and there you are. each node=1 image.
* doing it with cck might be a more flexible solution. I have been moving away from the initial configuration. The image project creates its own content type & creates a menu item with a /gallery page that shows an album list. At first I thought we would use this but the "tags" (a second vocabulary I made later) and a few views pages made the /gallery page seem kind of redundant & I have disabled it from the menu on my site.
a slideshow?
Yeah, this is what I got. But now I need a slideshow.
Something like a better pagination for Views, where you can select auto-cycle (new node every X seconds), for example.
The important part is, that only the next image gets loaded. Otherwise I could use Views Slideshow (http://drupal.org/project/views_slideshow), but as far as I understand, it loads all images at first. This would become a heavy download - because I got several hundred pictures.