Hi, this modul is so great - thank you!
Can anyone explain how to integrate jCarousel easiest to put the thumbs inside? I think, it might be enough to include an jcarousel_add() at the correct please (http://drupal.org/project/jcarousel or maybe jcarousel_block?). Where can this be done? Maybe directly in the module? Or somewhere in template.php?

Regards

vistree

Comments

rankinstudio’s picture

I second that.....

I have galleria and lightbox workin nice...be nice to have jcarousel going also.

vistree’s picture

Hi have you an example of your lightbox implementation? Is it possible to use lightbox with dynamic size?

Regards

vistree

rankinstudio’s picture

http://rankinstudio.com/new/astrophoto

Here is my lightbox/galleria setup. It does not have any kind of dynamic image resizing. I am trying to figure how how to implement it. On the galleria site there are some posts about portrait/landscape dynamic image resizing, I got them to work but wasn't happy with the results. I am not totally happy with what I have..still learning possible tweaks.

Would love to get Jcarousel going with it!

vistree’s picture

Thank you. I am also waiting and hoping that someone can help to use jCarousel.
There is one solution with original galleria and jCarousel and (?) ZenPhoto.
You can find it here (warning: it is seminude gallery ;-)
http://alexwilsonphoto.com/gallery/

And there is a zip containing his "solution" - but I have really no idea how to transform this to Drupal.
http://alexwilson.dyndns.org/filez/galleria05.zip

Maybe this helps for a solution?

Regards

vistree

rankinstudio’s picture

Yea, I've seen his website. Its an awesome layout. Way above my head. Maybe I can analyze the code and get something from it lol

Cheers

David

rankinstudio’s picture

Mark,

I hate to bump this thread..I was just wondering if you ever plan on making this a feature of the module? If not, im going to continue trying to figure it out lol.

Thanks

David

eromba’s picture

Version: 6.x-1.0-beta1 » 6.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new7.79 KB

Here's a patch that integrates Galleria with the jCarousel module, based on Alex Wilson's code from #4. It adds some basic configuration options to the Galleria admin page, but most visual customization will have to be done through your theme's style sheets.

I've tested the new functionality successfully in IE8, Opera 9.64, Google Chrome, and Firefox 3.1 B3.

I have NOT tested it with a Lightbox-embedded Galleria. If you try such a setup, be sure to let us know how it goes!

quicksand’s picture

It Worked successfully!

I try to identify possible bugs.

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.

eromba’s picture

StatusFileSize
new7.95 KB

Here's a new patch for the latest dev version, Mark. Thanks to your forward-thinking implementation of the CCK-imagefield integration, I didn't need to make many changes to the original patch. While I was at it, I updated galleria.install so the variables created by this patch (as well as my patch for #417756: How to display thumbnails above image?) are deleted when uninstalling the module.

Once this is committed, I'll get the patch for #371797: opening the main image with lightbox ready to go.

vistree’s picture

Hi, this is great. Thank you for that work!!!
Is the patch allready integrated in the newest dev-version?

Kind regards

vistree

Mark Theunissen’s picture

I'll be testing and committing hopefully tomorrow.

Mark Theunissen’s picture

Status: Needs review » Fixed

Just a few things I had to fix:

1) Strings, several of them weren't passed through t().
2) Uncommented functions.

Done some cleanup:

1) Put each section of the admin form into it's own collapsible fieldset (main options, imagecache and jcarousel).
2) Fixed up the galleria.js file. I created a namespace for the galleria functions and options array, as per standard Drupal recommendations to avoid conflicts. I think I've done this properly, but it may be worth double checking!

Still broken:

1) When viewing a Galleria with only one image, the jCarousel still shows up.

I've committed all the above to DRUPAL-6--1.

prof1337, do you think you could fix the problem with the jCarousel showing up when there's only one image please? It probably just a one-liner somewhere.

Thanks! :)

eromba’s picture

StatusFileSize
new1.04 KB

You're right, it's just a one-liner for the single-image issue. See the attached patch.

With that, I think we've got this one in the bag! Thanks for keeping everything tidy and standards-compliant. I especially like the fieldsets on the admin form.

I'll get working on the Lightbox integration on Friday.

Mark Theunissen’s picture

No seriously, thank you for doing all this dev work. ;)

Patch committed and tested.

vistree’s picture

Hi, this is allready very great ;-) I like it, that the jcarousel settings appear, if jcarousel is allready installed on the server.

Maybe still one bug? I have a small gallery with 3 images. But only 2 are displayed in jcarousel.

Kind regards

Kai

Mark Theunissen’s picture

What happens when jCarousel integration is disabled? Do all three images appear?

vistree’s picture

Yes, than everything is fine. Here you find the link:
http://www.freche-loesungen.de/node/54

Hm, and it seems to be different if I use Internet Explorer (no thumbs) or Firefox 3 (only two pictures).

Kind regards

Kai

Mark Theunissen’s picture

It's a CSS problem. I managed to fix it on that link by increasing the width of div ul.gallery.

If you have any further questions specifically about theming the jCarousel you may be able to get better information from the creators of jCarousel rather than me. ;)

Try their issue queue.

vistree’s picture

Hi Marc,
thank you for the help. I didn't change anything on css for gallera and jcarousel. Therefor I thought, that there might be a bug.

Thank you very much!!!
Nice weekend

Kai

Yuki’s picture

Version: 6.x-1.x-dev » 6.x-1.0-rc1
Status: Fixed » Active

Today I have installed JCarausel but when I enable it the theme bluemarine was broken and still. means the theme color and menus are coming here and there might be css problem. How can I fix it?

Mark Theunissen’s picture

Status: Active » Fixed

I have tested with Bluemarine and it works ok on my setup. Please make a new issue for your problem, and describe in detail what is happening, with screenshots if they help.

Thanks!

Status: Fixed » Closed (fixed)

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