By al on
Gallery 1.3.3 has now been ported to Drupal and released as a module. This integrates into the Drupal user permissions system, and offers simple user-management for creation/addition/admin of galleries and photos. You can bulk-upload photos using zip files, view slideshows (with nifty cross-fade transition effects in Internet Explorer) and take advantage of many of the other cool features of Gallery.
It's working with the current Drupal release (version 4.1.0), and you can grab it from the downloads page.
Nearly everything works, but there are certain minor limitations due to the way Drupal and Gallery are implemented. Please see the README for details and for more information.
Comments
gallery and CSS themes
Some of you are trying to use Gallery with CSS, and it's working in Mozilla but not Internet Explorer. This manifests itself in odd ways (images going outside divs, wrong spacing, etc.).
I think this is because there's a bug in IE which causes tables with width="100%" attibutes to not size themselves to fit into a <div> properly. Gallery has an *awful* lot of very hard-coded HTML.
If anyone finds a good way of resolving this issue, then please let me know so I can patch things.
Gallery Module Update
Al,
Are you planning on doing an update of the Gallery module for Drupal 4.3.0? That would be greatly appreciated among many users.
Fatal error when viewing a photo?
Check out this site where I'm using gallery:
http://www.sportsradio913.com
You can go to the gallery and it works fine, but when you actually view the full size version of a photo, look at the error it gives on the bottom of the page. It says :
ERROR: requested index [] out of bounds [1]
Fatal error: Call to a member function on a non-object in /home/virtual/site24/fst/var/www/html/misc/gallery/view_photo.php on line 476
Any idea what could be wrong..?
Solved
The problem is the first error, the second error is just a consequence of it. The first error occurs because of line 466 in that same file. There is no such variable as $GLOBALS["index"], replace it with $index. Then all will be fine.
Gallery, IIS, Drupal Themes
Gallery and IIS:
Gallery does not support IIS Web Server officially but here are some instructions that can make it work: click here
Gallery and Drupal Themes:
In the Goofy theme for Drupal, when using Gallery, the pages are broken.
gallery for CVS
nice work, al.
a gallery module for CVS, or an image.module which supports personal photo albums would be much welcome for my sites.
Indeed
Indeed. Any plans on working on it please Al?
Just tried out the marvellous Gallerymodule and noticed I have to do it on my non-CVS setup. Having used the CVS version for a while using the old versionfeels a bit like playing around in Windows 95 in the year 1998 if you know what I mean. =)
Now that I know my way around Drupal properly...
...I might consider doing a completely new port, rather than upgrading the current one. The user integration would be much much nicer, for a start (it'd actually work with LDAP, etc.).
So, what is the future?
I am just getting my site up and running, and the fact that there are two different gallery type modules is giving me pause for thought. Currently I have the image module installed, but is that going to be the one that gets updated or is gallery the future? I would much rather switch now than a few months down the road when everyone has uploaded their pictures.
image.module
I personally intend on keeping the image module up to date. There are quite a few conversations going on in the development mailing list on how to integrate images into nodes better. I would suspect that path would get the most attention development wise going forward.
Gallery v1.4-pl1 port?
Are there any plans to port the current gallery version (Gallery v1.4-pl1) to the current Drupal version (Drupal 4.2.0)? I have an extensive gallery, but changed my site to Drupal and now the gallery isn't accessible anymore as part of my site. Which is a problem, because the gallery used to be an important part of my website. Downgrading to gallery 1.3.3 is for security reasons not an option.
We could do with a Gallery -> image.module conversion script.
As subject. This wouldn't actually be all that hard to write...
I'm interested in a gallery -> image.module conversion
I'm interested in a gallery -> image.module conversion script. I highly prefer Gallery - as I've *NEVER* been able to get image.module to work under Drupal - and my posts for help go unanswered. But, I'm sure eventually it must be able to work correctly - as others have gotten it to work.
In which case the developers have shown a clear preference for image.module as the main development thrust. I do understand, and anticipate great integration features in image.module that Gallery can't supply as an embedded module.
So, that being said - I'd be happy (if I can EVER get image.module to work) convert my existing several thousand images from Gallery to image.module.
BUT - image.module MUST be updated with some sort of method to bulk upload photos. This onesy-twosy image upload thing is nightmarish at best and masochistic at it's nicest...
Nightmare image Gallery
So your post is dated from October i just set up an Drupal site but i agree with you ... Why is it not possible to upload zipped collections of images???
mmmh this is really stupid ... and useless
all the best
kiilo
Gallery -> gallery ;-)
Would it be hard to port the existing codebase to 4.2.0? I'm actually still running Gallery 1.3.x so I'm not too concerned about a 1.4 port.
Oh and granted, the 1.x.x branch is ugly code-wise, but 2.x looks very promising.
I second that ...
I have used Gallery for years.
It is a great product. Easy to setup, and full of features.
I also strongly support its port to Drupal.
It does not have to be a code port. Feature porting would be great.
Gallery does not use a database, but flat files to store everything. Putting its metadata in a database is an improvement.
Let us not be hung up on a "not invented here" mentality.
Also, another member here commented earlier that it does not have to be an all-encompassing port to Drupal. If we have the ability to have a "wrapper" that would give Drupal look and feel, and side menus, that is sometimes enough.
Of course, we can do it with HTML forms ;-) (Ducks for cover!)
--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba
Gallery to Image.Module conversion script?
Any chance someone has worked on a conversion script from Gallery to Image.Module? I have a fairly large Gallery setup which I'd like to convert, now that I *finally* got a working image.module. Thanks in advance!