Active
Project:
Gallery Assist Lightboxes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 May 2010 at 08:36 UTC
Updated:
25 May 2010 at 09:42 UTC
I noticed that this module has support for the Colorbox plugin. There are now a Drupal Colorbox module that I'm the co-maintainer of.
I think it would be good to add integration with the Colorbox module instead of using the Colorbox plugin directly.
If I can add features to the Colorbox module that would make this easier please contact me.
Comments
Comment #1
jcmc commentedHello frjo,
the GAL give only support for Gallery Assist images. It is historicaly born because the most of existing modules for lightboxes support not recognize Gallery Assist. It is to new. This is the cause (why) I have implemented lightboxes functionality for GA.
If you have a idea what we can make together etc tell me it.
I think the colorbox is one of the best existing lightboxes.
Regards
Juan Carlos
Comment #2
frjo commentedInstead of telling your users to add the Colorbox plugin directly ask them to install the colorbox module.
In your code you then do a module_exists('colorbox') instead of trying to include the Colorbox plugin files.
The file "gallery_assist.colorbox.selector.js" should work out of the box with the Colorbox module.
P.S. For all your js files, take a look at e.g. "colorbox/js/colorbox.js" how to build js files the Drupal way with "Drupal.behaviors" etc.