Hello,

I use drupal 6.12, Imagefield 6.x-3.0, Imagecache 6.x-2.0-beta9.
It already worked with this configuration, but few days ago the lightbox stopped showing. Instead I get the original image in blank page.
I looked inside the issues for the same case and didn't find any.
The latest changes I did was: adding google analytics manually(not the module), installing wysiwyg module and the FCKeditor.
Here is the link to the site: http://ilh.hostels-israel.com/hotel-aviv/hostel (the images are at the bottom)

Any help would be much appreciated!
Thanks.

Comments

vm’s picture

Status: Active » Postponed (maintainer needs more info)

you should update all modules to their latest releases and if issue persists report back.

stella’s picture

How is the javascript added to the page? Does your theme have a print $scripts; or are you manually adding it?

If you remove the google analytics code you added manually do things work again?

Cheers,
Stella

Ehud’s picture

Thanks for the quick reply.

I use print $scripts; in my theme.
I already tried to remove the google analytics code I added manually (after i saw issues about it) and things didn't work too.

I will upgrade modules and report back.

Thanks.

Ehud’s picture

I updated the all the modules and the problem persists.

vm’s picture

disable the last two modules you installed and check site.

Ehud’s picture

I tried it and it didn't help.
Somehow it doesn't relate to the rel attribute or the onclick event, and the css/javascript that should load - is not loaded, and the plain image is shown instead.
Recently I also changed performance parameters: I activated the cache and the css/javascript file optimization (I also manually aggregated some jacascript files from my theme - not from any module).

stella’s picture

the lightbox javascript isn't being triggered at all, so it's something more fundamental. Have you upgraded Drupal recently? Or changed any of the files in Drupal's misc/ directory? Do any errors appear in the Drupal logs?

Ehud’s picture

I upgraded drupal recently from 6.10 to 6.12.
No changes were made in the misc/ directory
And there are no errors in the logs...
Maybe something related to the location of the javascript in the page?

I recently moved from one hosting to another. Previous was here:
http://dev.gokids.net/hotel-aviv/hostel
and the lightbox is working there.

Ehud’s picture

do you have any other idea?
thanks..

stella’s picture

It may be to do with the location of $scripts in your page.tpl.php - normally it's in the header. Any javascript that needs to added to the footer will be automatically done for you if you print the $closure variable in your page.tpl.php

It is more likely to be a conflict with mootools however. I can see you're loading a mootools js file in your theme. Drupal uses jQuery and there may be conflicts between the two libraries.

Cheers,
Stella

Ehud’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks a lot!!!
It was the mootools indeed..
When it is disabled, lightbox shows right up.

Thanks a lot for your kind help!

Ehud

Status: Fixed » Closed (fixed)

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

tamasco’s picture

Status: Closed (fixed) » Active

First of all thank you very much for such a useful module.

I have a similar problem with Lightbox2 display. I configuerd lightbox to to be the handler for inline images and image assist. Everything worked well as at yesterday. But today Lightbox does not work on my site. Only original images are displayed.

The only change I have made is the installation of the FAQ module. After reading this thread i thought that could be the source of the problem, so i disabled the FAQ module and still nothing changed.

BTW: I'm using Lightbox2 6.x-1.9 with Image assist 6.x-2.0-alpha4.

Tamasco.

stella’s picture

Status: Active » Fixed

@tamasco: please open a separate issue for your support request. Before doing so, please ensure you're not using mootools on your site, and if using the jquery update module, then please upgrade to the dev version of lightbox2 - actually you might want to do that anyway.

Re-setting status.

Cheers,
Stella

Status: Fixed » Closed (fixed)

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