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

jcmc’s picture

Status: Active » Fixed

Fixed. The support for the lightbox2 module is added and released.
The functionality was tested by fluxrider at 681056#comment-2470748

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

alex.cunha’s picture

Currently 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.

alex.cunha’s picture

Status: Closed (fixed) » Active
jcmc’s picture

Hello alexcunha,

install please the Gallery Assit 1.9-rc2 and then give me feedback.

Thanks in advance
Juan Carlos

alex.cunha’s picture

Well, 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

roball’s picture

The support for the lightbox2 module is added and released

I 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??

roball’s picture

Also is missing a option on GAL to set the GA to use the lightbox2 module

Confirmed. I see no way how to use the Lightbox2 module with GA.

arx-e’s picture

I 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)

jcmc’s picture

shell:
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.

roball’s picture

I 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 :-)

roball’s picture

admin/settings/lightbox2/automatic
fieldset: Custom class images
field: Automatic handler for custom class images
chosse: Lightbox

But 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.

roball’s picture

Version: 6.x-1.2 » 6.x-1.x-dev
Status: Active » Fixed

I 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.

mefisto75’s picture

Status: Fixed » Active

I 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.

roball’s picture

Status: Active » Fixed

The 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.

roxy317’s picture

Worked great for me. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

gabocharrua’s picture

Perfect! that made the trick!! 3 hours of trying and then .....you! hahaha thx mate, you made my day.

Gabe.