Hi all,
this is driving me nuts. I've installed the galleria, jcarousel and imachecache modules. I configured galleria to use jcarousel and resize my thumbs based on an imagecache preset. Jcarousel should is configured to only show 3 thumbs.

I then went on to set up a gallery content type in cck. I've created and imagefield (enabling alt, title, and descriptions) setting it to unlimited and required. I've uploaded 5 images and when i save the node and view it, there are 5 thumbs there and the jcarousel / imagecache configurations don't make any different, my thumbs are resized nor are they listed vertically.

I also tried the upload module method to see if that made a difference but nope. Also tried the stable version of galleria and dev version, same result.

Here are the modules I have installed:
CCK 6.x - 2.8
Imagefield 6.x - 3.7
imagecache 6.x - 2.0 beta 10
jquery 6.x - 1.4
jcarousel 6.x - 2.0
galleria 6.x - 1.x - dev

Any help is hugely appreciated!
pete

CommentFileSizeAuthor
#7 Capture.png118.15 KBgeorge1234
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

1misc1’s picture

Same modules. Same settings. Same procedure. Same result.

Neither new imagecache presets are accepted (not for already created gallerias, not for new ones), nor jcarousel works.

Additionally to the module configuration of pete I'm using JIFupload (jifupload-6.x-1.x-dev) to have multiple uploads batched at once, which causes issues while creating/editing a galleria, but should not effect the view, I presume.

Thanks for any help
misc

1misc1’s picture

Hey,

I had no time to work on the problem but recently I gave it another try and looked into the code of galleria module and jcarousel module. I found out that on line 361 of galleria.module jcarousel is added with this function:
jcarousel_add('.gallery', $options);
".gallery" suppose to be the specific css class, but actually jcarousel automatically adds the point "." before the class label so that the line should look like this:
jcarousel_add('gallery', $options);
This activated at least the jcarousel.

A change of my imagecache preset and the opacity settings for the thumbnails finally worked. However I got some weired behaviour than I changed from horizontal to vertical orientation of the thumbnails, but maybe it is just a css issue.

Helpful might be the internal site /admin/help#gallaria showing some examples of own and default skin activation.

Good luck,
misc

yaworsk’s picture

Hey Misc,
this is awesome, thanks for the tip. I kept putting working on this off and had to get to it today so you're timing could not have been more perfect!

I made the change and was seeing my settings take effect but jcarousel wasn't working properly, i couldn't actually scroll through my images. If I click on the next or prev buttons that galleria provides, the carousel doesn't actually slide, the default galleria skin wasn't working properly.

This was insanely frustrating but I just managed to get it to work by removing 'initCallback' => 'Drupal.galleria.jcarousel_initCallback', in the galleria.module file...

also, i also added the ability to add a jCarousel skin to the galleria by amending the configuration page. I used it to pull in the tango skin, eventually modifying it to my own. happy to share that process with anyone who might find it useful.

thanks again for the help, hopefully this helps anybody else who may be having issues.
pete

1misc1’s picture

Thank you, pete,

the skinning will be one of my upcoming tasks, so your mentioned 'initCallback'-issue will be definitely useful and I will keep it mind when I'll get to the skinning part of my site.

Thanks and hopefully this will help anyone handling the modules in the future,
misc

brandonatconcentrek’s picture

Pete, could you please please go over the steps you used to resolve your issue? I'm running into the same thing as you.

It seems as though once one issue is fixed, another arises to take its place.

Thanks,

Brandon

yaworsk’s picture

Hey brandon,
sorry for not getting back to you sooner - are you still having the issue?
pete

george1234’s picture

FileSize
118.15 KB

Hello,

I also have a problem with the settings from the Galleria admin.

I have managed to make the Carousel appear, but nothing is moving, as it should.

My code is in the Galleria module file for the Carousel is

// jCarousel integration setup
if (module_exists('jcarousel') && variable_get('galleria_jcarousel', 'enabled') == 'enabled' && $i > 1) {
$options = array(
'vertical' => (variable_get('galleria_jcarousel_vertical', 'false') == 'true') ? TRUE : FALSE,
'visible' => variable_get('galleria_jcarousel_visible', '3'),
'scroll' => variable_get('galleria_jcarousel_scroll', '3'),
'animation' => variable_get('galleria_jcarousel_animation', '100'),
'wrap' => variable_get('galleria_jcarousel_wrap', 'null'),
'initCallback' => 'Drupal.galleria.jcarousel_initCallback',
);
jcarousel_add('.gallery', $options);
}

It is not a problem with the "." before gallery or galleria (both should work?).

I tried removing the init and setting directly a value for the animation like 'animation' => 100, but nothing happened.

I am kind of stuck for some days at this and I hope it will work eventually.

Thanks for any help,
George.

PS: I also attached a photo with the jCarousel.