HOW TO: Create an image gallery using CCK and Views (not Image Module)

Rick Hood - May 17, 2007 - 13:53

I just posted this in the handbook. I am putting it here for people searching the forum for this topic.

http://drupal.org/node/144725

Looks good

gazelle - May 17, 2007 - 15:09

Just what I have been looking for. Will try it out later!

--------------------------------------
http://www.stephenhendry.net

Imagecache vs Image Module?

orangecoat-ciallella - May 17, 2007 - 17:56

Thanks to you for the step-by-step and to the Lullabot crew for their recent podcast, which led me to this post on the advantages of combining CCK, image field, and imagecache. I recommend listening to it for their take on some, arguably, deprecated modules. Also, great timing as I just found out about this alternative yesterday.

(Un)fortunately, I now have the option of redoing the image thumbnail creation for a site already in development.

OrangeCoat.com

Lullabot

Rick Hood - May 17, 2007 - 22:36

Yes I learned about imagecache from Lullabot also. This article was quite good:

http://www.lullabot.com/articles/image_and_image_exact_sizes_vs_imagefie...

Very helpful, thank you

bwv - May 19, 2007 - 10:13

I was able to create a gallery following your instructions. Now I want to create sub-galleries. In your tutorial you note:

"You have to create a view for each gallery, and when you do, add 'Taxonomy' to the 'Filters' section of the view, picking what term you want the gallery to use. OR you can create one gallery view and 'expose' the taxonomy filter so people can choose what gallery to look at."

Would you be so kind as to elaborate in detail, either here or in the body of your tutorial? Thank you.

OK I just added that

Rick Hood - May 19, 2007 - 22:42

OK I just added that to the bottom of that handbook page:

http://drupal.org/node/144725

Have fun!

Any ideas...

gazelle - May 19, 2007 - 22:51

Is there an easy way for users of the sites to create albums in this way, without letting them edit all the other taxonomies. IF not any other ideas?

--------------------------------------
http://www.stephenhendry.net

Free tagging

Rick Hood - May 19, 2007 - 23:23

One way is to add a vocabulary that is a "Free tagging" type and just allow users to type in what they want.

Then, in the View, you would have to expose the taxonomy filter, which would show a drop down of all the free tags added.

Probably not the best way, but is one way.

Another way is not with taxonomy at all but to add 'Node: Author name' as an exposed filter to the View, then people could choose to look at galleries by who created them.

 
 

Drupal is a registered trademark of Dries Buytaert.