Closed (fixed)
Project:
Gallery Assist Lightboxes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2009 at 01:33 UTC
Updated:
17 Nov 2010 at 08:39 UTC
I had the LightBox2 module installed in my Drupal, and was using it for various images on pages.
Gallery Assist wouldn't use it, so I installed the LightBox2 for Gallery Assist.
That now seems to have replaced the LightBox2 module for my other images on my site.
Since it has less capabilities than the module version, this is NOT a good thing.
Comments
Comment #1
jcmc commentedFixed. The support for the lightbox2 module is added and released.
The functionality was tested by fluxrider at 681056#comment-2470748
Comment #3
alex.cunha commentedCurrently Im using GA 6.x-1.8 and GAL 6.x-1.2
Which version of GAL haves full support for Lightbox2 module?
Do I have to configure sometinhg on GAL to use Lightbox2 module?
Any recomendation to use newer RC release for both modules?
thanks for you help.
Comment #4
alex.cunha commentedComment #5
jcmc commentedHello alexcunha,
install please the Gallery Assit 1.9-rc2 and then give me feedback.
Thanks in advance
Juan Carlos
Comment #6
alex.cunha commentedWell, the update of Gallery Assist to 1.9-rc2 doest seem solve issues with lightboxes...
Using:
GA 6.x-1.9-rc2
GAL 6.x-1.2
jquery.js 1.4.1
lightbox2 6.x-1.9
lightboxes as extras for GAL (directory d6/sites/all/modules/gallery_assist_lightboxes/lightboxes )
- highslide (4.1.8)
- lightbox (2.04)
- prettyPhoto (compresed 2.5.6)
- slimbox (2.03)
My tests:
case 1:
- Create a gallery, add images to gallery, use grid (default)
- go to admin/settings/gallery_assist/extras
- choose lightbox (lightbox as extra for GAL)
- reload the page for the gallery created
- click on image - no lightbox effect
- edit the gallery and change it to list
- click on image - YES, lightbox OK
So, when the gallery as list, the lightbox (as extra) works. If is grid, the lightbox doest work.
case 2:
- configure lightboxes at admin/settings/gallery_assist/extras, choosing "lightbox"
- appears "lightbox settings" message but unfortunately no lightbox settings appear
- the same for slimbox, no settings
Also is missing a option on GAL to set the GA to use the lightbox2 module
Comment #7
roball commentedI am running the latest versions of the modules Gallery Assist (BACKUP-01.03.2020-2), Gallery Assist Lightboxes (6.x-1.x-dev (2010-Feb-03)) and Lightbox2 (6.x-1.x-dev (2010-Feb-23)).
However, when I go to admin/settings/gallery_assist/extras -> "Lightboxes for Gallery Assist", the "Lightboxes" drop-down menu only contains "none". How is the support of Drupal's Lightbox2 module be supposed to work??
Comment #8
roball commentedConfirmed. I see no way how to use the Lightbox2 module with GA.
Comment #9
arx-e commentedI had the same problem. I couldn't firgure out how gallery_assist would see the already installed Lightbox2 module. It turned out that a simple empty folder named "lightbox" and placed in the "lightboxes" folder made the lightbox selectable and fully functional! (while not affecting the already installed module)
So the steps (with Lightbox2 module, Gallery Assist, Gallery Assist Lightboxes already installed):
1. Create an empty folder named "lightbox" in /sites/all/modules/gallery_assist_lightboxes/lightboxes/
2. Select lightbox in the "Extras" page
3. Voila!
(I just hope this works for you too)
Comment #10
jcmc commentedshell:
cd your-contributed-modules-directory/gallery_assist_lightboxes/lightboxes
mkdir lightbox
browser:
admin/settings/gallery_assist/extras
choose lihtbox from the list
admin/settings/lightbox2/automatic
fieldset: Custom class images
field: Automatic handler for custom class images
chosse: Lightbox
go to one your Gallery Assist galleries, click a thumbnail and see your images with / through the module Lightbox2
visit the site http://pruebas.puntolatinoclub.de request a account and I give you admin rights in this test enviroment so you can see and test all lightboxes which are currently suported from GA-LB's.
Comment #11
roball commentedI have now found that there just has to exist *any* directory at all/modules/gallery_assist_lightboxes/lightboxes to make the "lightbox" Lightbox selection appear when the Lightbox2 module is installed. I think it would best for the Gallery Assist Lightboxes module to cleanly support the Lightbox2 module "out of the box" - without the need of creating a directory.
Anyway - hurray - now using the Lightbox2 module with GA, without the need of downloading any other lightbox code :-)
Comment #12
roball commentedBut which class should be entered in the "Custom image trigger classes" field? I have selected "Slideshow" at the Automatic handler for custom class images selection menu because I'm trying to make GA galleries appear as slideshows.
Comment #13
roball commentedI can confirm that the original problem no longer exists. To discuss integration with the LightBox2 module I have opened #730278: How to use "Gallery Assist Lightboxes" with the "Lightbox2" module.
Comment #14
mefisto75 commentedI did what was prescribed and it worked. But only for admin when I enter as unauthorized user it gives following errors:
* warning: file_get_contents(sites/all/modules/gallery_assist_lightboxes/lightboxes/lightbox/js/prototype.js) [function.file-get-contents]: failed to open stream: No such file or directory in public_html/includes/common.inc on line 2412.
* warning: file_get_contents(sites/all/modules/gallery_assist_lightboxes/lightboxes/lightbox/js/scriptaculous.js?load=effects,builder) [function.file-get-contents]: failed to open stream: No such file or directory in public_html/includes/common.inc on line 2412.
* warning: file_get_contents(sites/all/modules/gallery_assist_lightboxes/lightboxes/lightbox/js/lightbox.js) [function.file-get-contents]: failed to open stream: No such file or directory in public_html/includes/common.inc on line 2412.
Does this mean that I have to copy mentioned files from lightbox2 module in a new lighbox directory? Actually duplicate them because I already have lightbox2 module for other content and it works fine.
Comment #15
roball commentedThe original problem of this ticket has been fixed.
Please let us discuss your new problem at #730278: How to use "Gallery Assist Lightboxes" with the "Lightbox2" module.
Comment #16
roxy317 commentedWorked great for me. Thanks!
Comment #18
gabocharrua commentedPerfect! that made the trick!! 3 hours of trying and then .....you! hahaha thx mate, you made my day.
Gabe.