The current version of the Galleria script uses attribute selectors that were deprecated as of jQuery 1.2 (see the jQuery documentation). Thus, using the jQuery Update module with jQuery 1.3.x will cause Galleria to bug out.

The fix is to simply remove ampersands from three locations in jquery.galleria.js. The updated script remains compatible with Drupal 6's standard jQuery version (1.2.x).

CommentFileSizeAuthor
galleria_jquery_update.patch1.2 KBeromba
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Mark Theunissen’s picture

Assigned: Unassigned » Mark Theunissen

Thanks for the patch. Sorry it took long to respond, I've been away for a while. Will check this out as soon as possible!

Mark Theunissen’s picture

Status: Needs review » Fixed

Fixed in -dev.

Status: Fixed » Closed (fixed)

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

jweedman’s picture

Status: Closed (fixed) » Needs work

Boy... I spent two days trying to figure out why this module wouldn't work for me. Come to find out, whatever javascript you are using (probably jquery.galleria.js) does not agree with the jQuery library I am using.

This wouldn't be a big deal, but I am using the jQuery from Google's Library API. You can check that out here.

The exactly javascript include I'm using is:

<script src="http://www.google.com/jsapi"></script>
<script>
   google.load("jquery", "1.3.2");
</script>

If I remove the above code, galleria is happy... but I lose alot of interactivity on my page. I assume I'm pulling the same version that jQuery Update Module is pulling. I tried applying the patch, but that didn't resolve the issue. Granted, I'm not very experienced in applying patches, and this could be due to my lack of knowledge in applying patches. Maybe someone could tell me exactly what lines in jquery.galleria.js need to be checked / manipulated? However, if that was changed in this last release of the module, then that's obviously not the problem.

Any thoughts or ideas why this is happening? Thanks for you time... and by the way... this is a killer module. Exactly what my client was looking for.

Boxing’s picture

Version: 6.x-1.x-dev » 6.x-1.0

Hi, wondered if anyone could help me? (sorry so long, but needs to be to explain what I know) HELP ME PLEASE :)

I have been stuck on Galleria for 4 days trying to look into why my galleria is not working (displaying any images). Al that is displayed is the grey dots no images.

I have searched the drupal for some answers and google, but this post may be the closest thing that I could find to my problem (i believe), as I believe it must have something to do with conflictiing javascripts and as I do not know javascript coding I didnt want to post a new thread saying that was the problem.

The theme im using is:

Danland theme (has javascript for front screen image slideshow)

The modules i have are:

CCK - filefiled, imagefiled etc
Views
Jcarousel
Views Jcarousel
Views Slideshow
Views imageflow
Tabs
Views Tabs
ImageAPI
Image Caches
Dynamic Block
Jquery
& Galleria

I have followed the guidlines in read me text to the letter, changed the display fields, everything, no warnings come up, but when viewing a node no image or galleria come up. So i thought I would try this on another website of mine and i am doing it correctly because I can get it working fine.

So...I thought that it had something to do with the Jquery and Dynamic Block, so i replicated the modules as an experiment on this other website that Galleria was working and sure enough galleria didnt work, although images were displayed.

So.. i went back to the main website and and deleted all modules except CCK and Views main modules and have started stripping the site back to square one, even without these other modules delete and with only cck, views and galleria it still doesn't work.

im pretty sure this is someone of conflict with another javascript , but if i deleted these other modules why cant i get it too work now? does any of the modules i used leave an javascript code someone like maybe the core? Ok i could delete the whole site and start again and after the stress i reckon that would be easier, but am worried that It may happen again if I add a module that Galleria has an issue with? If anyone out there can help me i would be very grateful and surely someone else must have come across the same problem with over 500,000 downloads?

Oh and I change themes to see if it was Danland, but to no avail and also put some javascript code that shows thumbs and 1 big image that i use on another website and that didn't work either.

Any advice would mean a lot to me. Thanks Drupal community