I wrote a post on Drupal galleries for images and photos about a year ago and it remains one of my most frequently read posts. At the time I just wanted something simple to manage sets of pictures of Dior my son. So what’s happened in a year? It seems like a lot has changed. Gone are some of the modules that I reviewed before and new modules that really look cool are out on drupal.org. I’ll take a look at a couple of the tools and work to get them installed on AmonSul (my Mac-based Drupal config).
What looks good?
A quick look on on the drupal.org site and on the drupal modules site turns up a ton of gallery tools. Well I’m not psycho so you won’t get a complete review of every tool. These modules look promising:
- Brilliant Gallery
- CCK/Image Fupload
- Gallery Assist
There are a bunch of other ones on the site so why these? Well I looked at the history of new versions to see which ones are getting updated consistently, I looked at modules where the author committed to a version 7, and I looked for the features I like: lightbox, multi-upload, auto-scaling, and if possible an integration with Picasa.
Before Getting Started
Let’s level-set before getting going. Prior to starting work with gallery tools you need to make sure you have Drupal ready for this. You need to enable file uploads in the admin tool. You’ll also need to bump up the threshold for maximum upload size and for the total MB of uploads for a user. These options are all in Site Configuration, File Uploads. Also – make sure to allow users to use the modules on the Permissions page. I also updated my php.ini file so that I can upload massive images and crap. Be careful how you do this on a production server or you’ll get hacked and killed.
This module is new since my review and it really looks nice. I grabbed the Gallery Assist, the Gallery Assist Lightboxes, ColorPcker, and Gallery Assist Support module. I also grabbed the PrettyPhoto lightbox library. I copied all the modules over to the modules directory and then followed the install instructions in the Pretty Photo script library – all you do is copy the prettyPhoto folder into the lightboxes folder inside galleryassist_lightboxes folder.
Once these things are all installed you can create galleries right away. The setup is pretty obvious to perform. Create a gallery and then you can add images to the gallery using a simple form. The gallery will display images in a very basic way – as far as I can tell there is no slide show mode and no light-boxing out of the box. Images are paginated and they do scale as you stretch your browser. You can control the page view using the layout parameters. This is really a cool feature. Each content type that has Gallery Assist added to it can have its own layout. So what you can do is create new types and then have different gallery layouts depending on what kind of gallery it is. That’s something I’ve not seen in other tools. Very nice indeed! Here’s how my gallery looks after I added a few more pics and then messed around with the layout. It would be better if I took the time to make my images all the same size I guess.
Later you can go back and add more details later to your images – check the thumbnail to see that.
As I said I downloaded the prettyPhoto lightbox so the next step is to get that configured correctly.
Ah crap – the instruction videos for this product are wmv format and I’m on a Mac. Darn. Ok – hang on…2 days later…back in action…I had to back off Drupal 7 and get 6 working on my PC…there’s a good video link from the Gallery Assist Lightbboxes module project page. It is pretty simple, install the module, enable it, copy the lightbox you want to use over (prettyPhoto in my case) into a folder of the same name in the lightboxes subfolder of the module (pretty Photo), go the Gallery Assist configuration page, click the Extras tab, pick the lightbox you copied over and bingo! Pretty slick and the ability to use the lightbox that you like is really nice.
This set of modules will be very difficult to beat. 4.5/5 stars from me! Fantastic!
This set of modules provides a complete solution for uploading sets of files and configuring them into galleries. Get ready for some serious installation work to get this one working. You need to install CCK plus a whole bunch of supporting modules and JS libraries. Phew – the instructions are pretty good at least. The best thing to do with this module is to really read the instructions carefully. Image FUpload, Content, FileField, ImageField, Imagecache.
What I did was start with installing those modules and keep checking them off on the modules screen to install them. Check each one off – if you can’t check the box see what’s disabled, missing, or messed up in the dependency list. Then go grab the module and fix it. I was able to keep doing this and got evertyhing installed. The getid3 module is a pain – read the instructions carefully.When you think you have everything ok – go to the Administer–>Reports–>Status Report and run it. If modules are installed but not configured right this screen can help.
After all that I see all the screens, I can upload images, but then when it comes to putting them in a gallery – boom. I get a page not found error. I see the files uploaded on the server, processed, and thumbnailed. Not sure what exactly is wrong. Perhaps a mod_security issue? I’m not sure. Ugh – DOA. No clue how to proceed. Maybe this is somehting with my Mac, I’m not sure, but already I can tell this is just not happening for me. Way too many things to install and really just not enough help getting it all working. I’m going to give up for now and try some more later on – may be I will repeat this on my PC where I won’t have to also deal with the whole Mac thing.
This tool really looks cool, but can it beat Gallery Assist? Here we go…instlal the module and the LightBox2 module that it depends on. After I restarted I had a strange problem caused by Lightbox2. Any link in my site that I clicked on brought up the lightbox, see the attached pic. I found this issue on the module pages. In that ticket there’s a patch file, but also the statement that the fix has been implemented in the dev version. I installed that version, cleared my cached data, and bounced my Drupal server – problem fixed.
With that solved I installed the main module, checked out the large number of parameters. I see one that looks interesting – there’s a “crop preview images to the same shape” option that will solve my minor problem with Gallery Assist. I checked that one on. I had a slight problem when clicking on the Permissions link from the module configuration page – for some reason I get routed to my apache root index.html page, not sure what problems will arise from that.
Well I can’t seem to see how I create a gallery – I found some instructions here…that’s the key. I get it now – basically what you are doing is adding some filters to the HTML input fields. What the filter will do is point you to the right gallery and then provide all the config params for the gallery. This allows you to integrate galleries directly into your pages, stories, and blogs. Pretty neat actually – here’s the string I added:
That resulted in the following gallery showing up. Clicking on any image opens the lightbox. Ok – that is pretty cool, yes for sure. I really like also that I can put other text on the page. BG gallery supports a few lightboxes so you can switch around for different looks too. I like thickbox the best I guess.
Brilliant Gallery’s killer feature however is next – you can access Picasa web albums directly and show them in your site as galleries. Wow! My family has a private album we use for exchange pics, I’ll try that. The docs say you can do this. Once you have a web album out there you need the RSS feed link and you just replace the path in teh command string with the RSS feed like this:
and magically the album should show up…but for me it is not working. Intuitively I cannot see how this can work for private albums since you are not authenticating from the drupal site. My guess that for private albums this does not work. Maybe I’m old fashioned, but I don’t like putting pics of my kids out for creepy people to look at so I guess this feature won’t work for me in general. That’s too bad.
Well even without the killer feature – BG is a really nice tool and has a lot of advantages.
Wow – how things have changed in a year! Well obviously I like 2/3 of these tools. The CCK stuff is just too much hassle for me to deal with. Between Gallery Assist and Brilliant Gallery it is a difficult call. If BG worked with Picasa the way I wanted it to then I would say that BG is hands down the best. Without Picasa support I think GalleryAssist is the easier tool to use to quickly upload images into galleries – especially if you do not have or want to routinely copy images to your server’s filesystem. GalleryAssist also has more options for lightboxes. BG is more of a power tool I think – great for when you really want to make a gallery integrated into a page that looks super cool. It appears that the tools cannot both be used in the same site. When Gallery Assist is installed BG will no longer work. I hope I can fix that.
I’ll keep plugging away with BG and Picasa – if I figure it out I will update the post.