I think we should add slideshow support to the image galleries. When an user views a picture I think there should be links like "Next picture", "Prev. picture", "Start/stop slideshow", etc.
Take a look at the slideshow.module (http://cvs.drupal.org/viewcvs/drupal/contributions/modules/slideshow/ http://drupal.org/node/59469). I like the why they handles JavaScript.
The reasons why I'm submitting this to the image workgroup instead of to slideshow is:
- Image handles images better than slideshow
- Many users uses image at the present, while slideshow is pretty unknown
- Image has captions with the images, slideshow has only one per slideshow/gallery
- I think it will be much simplier to make image support slideshow than the other way around
Some interesting links:
- http://www.couloir.org/js_slideshow/#1
- http://www.codelifter.com/main/javascript/slideshow4.html
- http://www.codelifter.com/main/javascript/slideshow3.html
- http://www.google.se/search?q=javascript+slideshow+caption&start=0&ie=ut...
- http://www.zinkwazi.com/wp/scripts
I'll start workin' on this, but I would really appreciate any help, especially with extending the interface so you can toggle slideshow on/off for certain galleries etc. I've never worked with the forms-api.
//Johan
(Sorry for my bad English, hope you understand)
Comments
Comment #1
Steve Viscido commented+1 for this.
Start/stop show I don't care that much about, but next/previous would be a huge help.
There's a next/previous link for the gallery itself, just not the individual slides. Perhaps you could somehow make use of that code? I have no idea, not being a PHP person myself.
I'll be happy to test it when you have something semi-working if you want.
Comment #2
forngren commentedPerheps, I look into it.
Comment #3
Bèr Kessels commented-1
please move this feature request to one of the *gallery* management modules. Image module is about handling single images. displaying them in advanced gallerys is a task for modules such as shazamgallery.
Comment #4
Bèr Kessels commentedAlso, this has been requested before. please choose on of the existing, open, issues for continuation of this thread.
Comment #5
forngren commentedYes, but I did submit this to the image_gallery component, where I think this feature belongs. And yes, image's purpose is to handle single images, but image_gallery handles multiple images and displays them. If we spreads out this feature on many modules it will be confusing for the users to know what modules they need and confusing for the developers to make sure that the module is compatible with 1 or maybe a few other modules. I'll neither force someone to use this feature either, if you want to use it, just activate it for that special gallery or the entirely site. It's up to you. This feature is also fairly lightweight and will barly add a few rows to module. I can't find where this feature has been requested before either.
Comment #6
forngren commentedYes, but I did submit this to the image_gallery component, where I think this feature belongs. And yes, image's purpose is to handle single images, but image_gallery handles multiple images and displays them. If we spreads out this feature on many modules it will be confusing for the users to know what modules they need and confusing for the developers to make sure that the module is compatible with 1 or maybe a few other modules. I'll neither force someone to use this feature either, if you want to use it, just activate it for that special gallery or the entirely site. It's up to you. This feature is also fairly lightweight and will barly add a few rows to module. I can't find where this feature has been requested before either.
Comment #7
Bèr Kessels commentedI do not see any ". I'll neither force someone to use this feature either, if you want to use it, just activate it for that special gallery or the entirely site" code.
So sorry to be rude. But unless you can show this, all this is Just Talk.
Comment #8
forngren commentedI know, I don't have any code to show yet. I'll start workin on it this weekend. I'll guess it'll take week a week ot two. So far just talk ;)
Comment #9
bradlis7 commentedI agree that image.module is for simple image handling, but what if it was a submodule of image, like image_gallery? But I guess someone could just as easily create a new module / take over an existing one.
Comment #10
ejort commentedI think that this is a duplicate request for the functionality developed (in text and image link forms) here: http://drupal.org/node/19920
Comment #11
forngren commentedOk, you're right guys. End of story.