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
Comment #1
vm commentedyou should update all modules to their latest releases and if issue persists report back.
Comment #2
stella commentedHow 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
Comment #3
Ehud commentedThanks 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.
Comment #4
Ehud commentedI updated the all the modules and the problem persists.
Comment #5
vm commenteddisable the last two modules you installed and check site.
Comment #6
Ehud commentedI 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).
Comment #7
stella commentedthe 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?
Comment #8
Ehud commentedI 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.
Comment #9
Ehud commenteddo you have any other idea?
thanks..
Comment #10
stella commentedIt 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
Comment #11
Ehud commentedThanks a lot!!!
It was the mootools indeed..
When it is disabled, lightbox shows right up.
Thanks a lot for your kind help!
Ehud
Comment #13
tamasco commentedFirst 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.
Comment #14
stella commented@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