New view type: Image Gallery

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.

Login to post comments

Documentation

Brian@brianpuccio.net's picture
Brian@brianpucc... - Mon, 2008-01-07 12:45

Yup! I wrote it the other

joachim's picture
joachim - Thu, 2008-01-10 10:17

Yup! I wrote it the other day :)

You're welcome!


Image Gallery and ImageFields

Rob Loach's picture
Rob Loach - Mon, 2008-01-07 22:36

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
joachim - Thu, 2008-01-10 10:26

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 - Tue, 2008-01-08 04:35

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


joachim, great work! you

aaron's picture
aaron - Tue, 2008-01-29 17:00

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