[DUG-TO] Simple photo gallery setup

James Walker walkah at walkah.net
Wed Feb 4 19:27:57 EST 2009


On 4-Feb-09, at 5:43 PM, Andrew Berry wrote:
> On 4-Feb-09, at 5:27 PM, Evan Leibovitch wrote:
>
>> What would people suggest here as a very simple photo gallery setup?
>
> Image + Views + Lightbox2. Views 2 has a really nice grid view for  
> photos. For tagging, just use add taxonomy fields, and for copyright  
> data a CCK text field should easily do it with the options you want  
> to provide.
>
> You could probably substitute Image for something else, as long as  
> it works with Views cleanly.

The most flexibility for this setup comes from using imagecache &  
imagefield with views2. In fact, Chapter 7 of "Using Drupal" outlines  
this approach in detail.

Image module will work too - it has both the built-in gallery features  
(via image_gallery.module) and a random image block... but also views  
integration to do finer control listings. The grid view style works  
quite well.

>> A block that shows a random photo from the gallery; clicking on the  
>> photo takes you to the original entry in the gallery
>
> Views 2 has a "random" sort handler, so you can create a block  
> display with size of 1 and a random sort.

Exactly!

>> Contributing to my unease is seeing that the Image module for V6 is  
>> still reported to be only in alpha state.
>
> I've found Image on D6 to be quite stable. For something simple, I  
> doubt you'll run into any issues.


Yeah, Image on 6 is rather stable... and now has a new primary  
maintainer who is whipping through the issue queue to get a final  
release ( http://walkah.net/blog/walkah/image-module-end-era ).


--
James Walker :: http://walkah.net/ :: xmpp:walkah at walkah.net




More information about the DUG-TO mailing list