Active
Project:
Brilliant Gallery
Version:
6.x-4.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2008 at 00:36 UTC
Updated:
4 Sep 2011 at 11:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
jan.n commentedThis would indeed be interesting...
Comment #2
superflyman commentedsuscribing...
Comment #3
philingle commentedsubscribing
Comment #4
firepug commentedI 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.
Comment #5
drpchris commentedGreat 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=filenameinstead 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.Comment #6
firepug commentedI'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.
Comment #7
firepug commentedAnother 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.
Comment #8
goempie commentedCould 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
Comment #9
firepug commentedSure, 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.
Comment #10
firepug commentedDid 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!