New view type: Image Gallery

Events happening in the community are now at Drupal community events on www.drupal.org.
joachim's picture

You might be interested to know about a new view type that's now included in the image module: an image gallery view for image nodes.

This is in the latest 5.x-2.x-dev release of image. Existing galleries and blocks are reimplemented as views.

Comments

Documentation

Yup! I wrote it the other

joachim's picture

Yup! I wrote it the other day :)

You're welcome!

Image Gallery and ImageFields

robloach's picture

Can you use the Image Gallery View with nodes represented by ImageFields and ImageCache? That combo is absolutely amazing.

I'm not sure... The view

joachim's picture

I'm not sure...
The view type fetches the size of the image derivatives to figure out what size to set the floated gallery DIVs, and it's specifically looking for the view field that's supplied by the image module to get that.
If that field is absent, you won't get any error messages (just tried).
So I guess the answer is yes, but you'll have to set the size of the floated divs yourself in your stylesheet, according to the size of your images (and any text you're including).

The other thing is that I was about to add a better validation system for the view type, specifically checking that the image module's image field is present.... I guess I'll rethink that if people want to use it for other things.

I would also like to know if

kirilius's picture

I would also like to know if the new view supports ImageField+ImageCache?

joachim, great work! you

aaron's picture

joachim, great work! you might want to change this post to list in the Image group as well. I went looking for it there, thinking that's where I saw it, and it wasn't of course. Had to scratch my head a bit to remember where that was.

Aaron Winborn
Advomatic, Web Design for Progressive Advocacy, Grassroots Movements, and Really Cool Causes

Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic

Image

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: