Hi,
I'd like to be able to use this, but in the filter, instead of specifying the URLs individually, I'd like to specify the name of a gallery, and have all the images in that gallery automatically included in the slideshow. I was looking at your code and it looks like in your slideshow_creator_replace function one could match for a different parameter, e.g. "gallery=galleryname" and then use taxonomy code to pull the images. Or, even without using gallery, one could use CCK and image fields, so long as all the nodes had a particular taxonomy code. Actually, I like the CCK solution as I think it's more general, and one could then potentially specify which content types and fields to pull from the CCK node, including image, description, creator, etc., but the Image module interface could also be very handy. What do you think?
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | Snap1_2.png | 10.06 KB | amitaibu |
Comments
Comment #1
hedroom commentedSee this issue: http://drupal.org/node/130730
The code will randomly loop through all of the images in a folder (doesn't work with the latest version though).
W
Comment #2
emdalton commentedThanks for the pointer. However, since the point is to allow my users to create their own slideshows and they don't have access directly to the server, I do need to use a feature of Drupal that they can access, e.g. galleries or taxonomy.
Comment #3
brmassa commentedguys,
im gonna work on this soon.
regards,
massa
Comment #4
emdalton commentedGreat -- looking forward to it!
Comment #5
brmassa commentedguys,
the SsC 1.18 has a CCK widget, making possible to all people add slideshows in their nodes.
see if is what are you looking for.
regards,
massa
Comment #6
emdalton commentedIn case anyone else is as puzzled as I was, here's what you do to use the new CCK feature of Slideshow Creator:
1 - Install the module as usual. There are two parts that get installed, slideshow_creator and slideshow_creator_cck
2 - If you had an old version of Slideshow_Creator, don't forget to run the update.php script
3 - Activate both modules (Slideshow Creator and Slideshow Creator CCK)
4 - Pick a content type that you want to allow a slideshow on (Administer->Content Types, click edit next to the relevant content type)
5 - Add a field to this content type. The type is "Slideshow" which displays near the bottom of the list (depending on what other CCK modules you have).
6 - You can change the default values if you want. It's a good idea to add some help text.
7 - Save field settings.
8 - You may want to manipulate where the slideshow will appear in the page, e.g. move it above the Body.
Now, either edit a previously existing node of the type you have selected, or create a new node. You will see the slideshow form elements to fill in: a text area to enter image URLs and data one image per line, rotation speed, etc.
Note that what I was really hoping for was the ability for my users to upload images into taxonomy-driven image galleries and rather than specifying the images one per line, I'd like to be able to select a taxonomy term and have all images from that taxonomy term rotate through the gallery. For example, I have a CCK node type "Images" and it has a category "Gallery". Suppose I have a gallery name "Budapest". I want my user to be able to upload a bunch of images into the Budapest gallery (create image nodes, and select gallery name Budapest), then just select one or more gallery names, e.g. Budapest in the slideshow CCK control on the node where the slideshow is to display, using a standard taxonomy category selector. But this is a reasonable start.
Comment #7
brmassa commentedElizabeth,
i understand what you need. i wll try to build it. it will take some time, you should know. any news, im gonna post here.
best regards,
massa
Comment #8
emdalton commentedGreat, thanks!
Comment #9
amitaibu"Slideshow from Views"
This is inspired by the viewfield module (http://drupal.org/project/viewfield)
I have a different approach to create galleries:
* Add another field to the SSC CCK with a selection of views.
* User selects a view
* If there are SSC CCK field(s) in the view then they will appear in the form of a slide show.
Like this a user can create different galleries easily.
What do you think?
Amitai
Comment #10
amitaibuHi Massa,
Just to know - Is this a feature you are going to develop?
Cheers,
Amitai
Comment #11
brmassa commentedGuys,
scan nodes (based on a taxonomy) to find if there is a image and than create a slideshow using it is a VERY complex code. im not sure if i can do this alone.
if anyone provide a prototype or something, i will analyse!
regards,
massa
Comment #12
amitaibuHi,
The feature is not finished, but here is a quick update.
You select the views, and the fields in that content type that hold the URL and caption.
Check the snap shot.
Comment #13
brmassa commentedGuys,
its just too hard to do. if anyone provides a patch or something, please reopent this issue!
regards,
massa
Comment #14
amitaibuHi all,
Here is a workaround:
* Install View Slideshow module
* Install Imagecache
Voila - you have a slideshow from Views.
Currently, only missing Previous/ Next links.
Cheers,
Amitai