Closed (fixed)
Project:
Galleria
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
2 Jan 2009 at 21:21 UTC
Updated:
4 Jun 2009 at 07:40 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | galleria_jcarousel_3.patch | 1.04 KB | eromba |
| #10 | galleria_jcarousel_2.patch | 7.95 KB | eromba |
| #7 | galleria_jcarousel.patch | 7.79 KB | eromba |
Comments
Comment #1
rankinstudio commentedI second that.....
I have galleria and lightbox workin nice...be nice to have jcarousel going also.
Comment #2
vistree commentedHi have you an example of your lightbox implementation? Is it possible to use lightbox with dynamic size?
Regards
vistree
Comment #3
rankinstudio commentedhttp://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!
Comment #4
vistree commentedThank 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
Comment #5
rankinstudio commentedYea, 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
Comment #6
rankinstudio commentedMark,
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
Comment #7
eromba commentedHere'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!
Comment #8
quicksand commentedIt Worked successfully!
I try to identify possible bugs.
Comment #9
Mark Theunissen commentedThanks for the patch. Sorry it took long to respond, I've been away for a while. Will check this out as soon as possible.
Comment #10
eromba commentedHere'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.
Comment #11
vistree commentedHi, this is great. Thank you for that work!!!
Is the patch allready integrated in the newest dev-version?
Kind regards
vistree
Comment #12
Mark Theunissen commentedI'll be testing and committing hopefully tomorrow.
Comment #13
Mark Theunissen commentedJust 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! :)
Comment #14
eromba commentedYou'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.
Comment #15
Mark Theunissen commentedNo seriously, thank you for doing all this dev work. ;)
Patch committed and tested.
Comment #16
vistree commentedHi, 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
Comment #17
Mark Theunissen commentedWhat happens when jCarousel integration is disabled? Do all three images appear?
Comment #18
vistree commentedYes, 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
Comment #19
Mark Theunissen commentedIt'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.
Comment #20
vistree commentedHi 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
Comment #21
Yuki commentedToday 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?
Comment #22
Mark Theunissen commentedI 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!