Hi - i'm using the latest release of this module - 7.x-1.0-beta3

The README.txt doesn't specify which version of galleria.js to use, so i've downloaded the latest which is 1.4.2

However i'm getting the error:
$this.galleria is not a function

I've checked the library is definitely loading and is accessible via the browser. The docs on Galleria mention use of:
Galleria.run('.galleria');
rathen than
$this.galleria();

...as in the module. Am i using the wrong version of Galleria.js, or is the module code out of date?

Thanks

CommentFileSizeAuthor
#2 galleria.tar_.gz152.16 KBmaen
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

oxydog’s picture

Hi rich.3po,

Must say, I'm a bit disappointed in the results (or lack of) I found for this problem. We've been struggling for a week to get this working, because we ASSUMED (I know, very dangerous) one should use the latest galleria.js library (1.4.2). Turns out you can't, reverted back to 1.2.9, et voila, everything started working!

Hope you get yours up and running as well.
Ciao

maen’s picture

FileSize
152.16 KB

The last 2 hour I tried to get this version. Now I found it from a python rep. I had to rename the js files. Now it works. For those who have the same problems, here is a timer saver. Version 1.9.2-2, works for me at least.

rich.3po’s picture

Hi - thanks for figuring out which version works! I'll aim to create a documentation patch when i get time (or stipulate the version in hook_libraries_info() if the modules uses that...)

Regarding downloading older releases, can you not just get them from Github?
https://github.com/aino/galleria/tags

Cheers

maen’s picture

Now I'm ashamed!

gaele’s picture

This module does work with newer versions of galleria.js, like 1.4.2, but you need to update jQuery to version 1.7 or higher, using jquery_update. See http://support.galleria.io/discussions/problems/10769-update-from-129-to...