Hi - very cool module - makes setting up a new album quick and looks great. My question - how did you generate the "Gallery of galleries" index on http://www.vacilando.eu/galleries? It looks like a view with tabled output, but I can't figure out how you got the random image in there and I don't want to start hand-coding index pages if I can help it. TIA - ROUS

Comments

jan.n’s picture

This would indeed be interesting...

superflyman’s picture

suscribing...

philingle’s picture

Version: 6.x-1.2 » 6.x-3.6

subscribing

firepug’s picture

StatusFileSize
new3.9 KB

I have developed a simple add-on module (depends on Brilliant Gallery) to do this. I've applied for CVS so that I can develop it properly online, but in the meantime if anyone would like to try it out with their setup, its attached.

drpchris’s picture

Great work. Looking at the code, it's quite simple but seems to do a lot of work just to show all the galleries. I guess there's no way to know what nodes have a bg tag in them without looking for it.

On my site I have a content type for gallery pages with a cck text field that allows me to enter the name of the photo I want thumbnail-ed. With a custom node type I know where to look, but I understand why it's good to not have a content type for bg, just to use it as a general filter. I then built my own custom filter module that shows a grid of thumbs and short descriptions - similar concept, a 'gallery of galleries'. I've been trying to figure out how to make it generic enough to put up as a supplementary module. Since you put this up I'm thinking I could combine with yours. Now just to find the time to do it...

With the forthcoming bg v4 and it's new tag format, we could (through tomas) have a tag that designates which photo to use as a thumbnail (just a simple thumbnail=filename instead of/in addition to a default of just using the first one. The tag would be totally optional but might be nice to have as a standard for customizations like yours/mine.

firepug’s picture

Version: 6.x-3.6 » 6.x-4.x-dev
StatusFileSize
new3.58 KB
new1.73 KB

I've updated the previously attached module to also allow downloading of the whole gallery as a zip file. This means the module pclzip (http://drupal.org/project/pclzip) is also required.

I've also attached a second small module that guides the user through adding a Picasa gallery. The problem with automatically generating the gallery pages from the Brilliant Gallery folder is that the gallery creator(s) are no longer familiar with the tag process, and so the opportunity to add a Picasa gallery is there only if they use the tags, and then the folder of images ends up in the cache and not in their folder. The module solves this rather clunkily by generating a temporary node that the user must view so that the images are transferred from Picasa by Brilliant Gallery. The new cache folder is then detected, confirmed by the user and moved into the Brilliant Gallery folder (which needs to be writable by the webserver user) so it becomes browseable like the others. The temporary node is deleted.

Unfortunately my CVS account request was rejected (without reason, but I guess writing modules that "work around" other modules like this isn't very good Drupal practice), so again I am submitting them here instead of on their own page. I'm happy to contribute to the main development if Vacilando is looking for help.

firepug’s picture

StatusFileSize
new3.52 KB

Another user found that the previously attached module did not work with BG versions prior to 4.0. The new version (attached) solves this by doing version detection and sending either variables or a parameter array to the main BG module as appropriate. Its tested with version 6-3.6 and 6-4.0.

goempie’s picture

Could you write a guide to te addons that you posted here, because it sounds like their doing what i want. I have already installed the addons but I cant see what has changed...
Thanks

firepug’s picture

Sure, I will try to do that ASAP. In the meantime, going to yoursite/brilliant_gallery_browse or /yoursite/brilliant_gallery_picasa_add should get you to the extra functionality.

One word of warning: I have a bad feeling that the modules lose the caching functionality of the main brilliant gallery module, and therefore have some serious performance issues. If you aren't running your own server, be careful that you don't upset anyone! I also want to look into this ASAP, as well as catch up on what's new in D7 and Brilliant Gallery-D7.

firepug’s picture

Did you get anywhere? I've put a fuller documentation up at http://picasassist.norainnosun.de/drupalbg.php

Let me know if anything doesn't make sense/doesn't work!