Galleria 1.2 is now in beta with a lot of interesting new features: http://galleria.aino.se/

They plan to release a stable version in June 2010.

Would be great if this module would support Galleria 1.2.

CommentFileSizeAuthor
#8 galleria.zip66.03 KBcduwe
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pribeh’s picture

Bump

Anonymous’s picture

I also support this request. Thank you for your work.

cduwe’s picture

I started investigating this. One issue is that Galleria 1.2 requires jQuery 1.3 or later. So you'll need to use the alpha-version of jQuery Update. With that, I have Galleria 1.2 working in my theme. On to the module...

AdrianB’s picture

Aren't we all using jQuery 1.3 with jQuery Update already? :)

pribeh’s picture

I am. on all sites.

traceelements’s picture

Any suggestions on how I can implement Galleria 1.2? Is it included in the dev?

cduwe’s picture

You can implement it pretty easily at the theme layer. Disable the galleria module. Enable the Jquery update module to get jquery 1.3.

To you .info file, add galleria.js
to your theme's .js file, add something like:

Drupal.behaviors.Galleria = function (context) {
  $('.field-image').galleria({
  });  
};

Galleria.loadTheme('../../../sites/all/themes/YOURTHEMENAME/galleria/themes/classic/galleria.classic.js');

Be aware you need your images printing to your page in an appropriate structure. The galleria module prints them as an UL but 1.2 needs to be a DIV with a bunch of images or linked images.

cduwe’s picture

FileSize
66.03 KB

OK. Here's a first stab at a module version. The more I work with this the more I think a module no longer makes sense since all the real magic is happening in the galleria theme. Some things to note if you're testing:
I just hard-coded it to use the classic theme. A method for specifying the Galleria Theme needs to be added to the admin menu.
I just added the first 3 options from the Galleria 1.2 documentation as proof-of-concept.
Since it has carousel support built-in I removed the jcarousel integration.

Enjoy,
Colin

AdrianB’s picture

Just a note: Galleria 1.2 has an official release date: February 18, 2011.

AdrianB’s picture

...and the new Galleria site is now live: http://galleria.aino.se/

ranx’s picture

subscribing

jackhutton’s picture

Thought maybe someone else might be going through these issues w. galleria module so i figured, I'd outline the steps I took to get it to function as I wanted it to.

modifications;
I am using Drupal 7 wth the 'corolla theme
made backups of my files and directories.. then..
1st, couldn't get the images to render from the cached images or newly created image cache styles;
so applied the patch from gopherspidey (applied it manually.. couldn't get it to run but that might just be my lack of understanding on how to apply patched)
"Public/private paths and using the image styles"
http://drupal.org/node/1082882

this fixed the issue of getting images to render in the galleria;

the classic theme wasn't what i wanted so;
purchased their 'twelve' theme at
at use on the landing page for their site here:
http://galleria.aino.se/

support info can be found here:
http://getsatisfaction.com/galleria

put the uncompressed directory here
mysite.com\sites\all\modules\galleria\js\themes\twelve

to get this to work
modified the galleria/galleria-container.tpl (already modified once from the patch above)
to add outer div tag w. id 'galleria'

<div id="galleria">
	<div class="galleria-content clearfix">
	<?php foreach ($items as $delta => $item) : ?>
		<div class="field-item"><?php print render($item); ?></div>
	<?php endforeach; ?>
	</div>
</div>

changed the
mysite.com\sites\all\modules\galleria\galleria.container.css
to create a larger/wider stage;

.galleria-content {
  height:520px;
  width:100%;
  margin:0px auto;
}

from the support boards I saw a post talking about thumbnails not 'carouselling' on the screen and added
the recommended changes to the twelve css file
support issue on galleria satisfaction page:
http://getsatisfaction.com/galleria/topics/twelve_theme_no_scrolling_on_...

mysite.com\sites\all\modules\galleria\js\themes\twelve\galleria.twelve.css

.galleria-thumbnails-list {
    position: absolute!important;
    top: 10px;
    right: 10px;
    left: 10px;
    bottom: 41px;
    overflow: auto!important;
}

Then to render the custom theme I remove classic.js theme replace w. twelve.js theme
- drupal_add_js($path . '/js/themes/classic/galleria.classic.js');
+ drupal_add_js($path . '/js/themes/twelve/galleria.twelve.min.js');

there were still issues in rendering the site/ thumbnails. .. play..etc..
reading up, the version of the galleria.js file is
Galleria v 1.2 prerelease 1.1 2010-11-23

I read some postings here and elsewhere and wanted to update this .js file
with the Galleria v 1.2.2 2011-02-25

from the purchased bundle I took the
galleria/galleria-1.2.2.min.js
and renamed it the jquery.galleria.js file in the modules' js directory
mysite.com\sites\all\modules\galleria\js\jquery.galleria.js

clearing all caches .. of course..

and ultimately I have success rendering the gallery as I'd like it to appear.. in a drupal 7 framework.

the site is incomplete.. page imperfect.. but here's what I'm able to generate..
http://jackhutton.com/ruschmeyer/carolands

jackhutton’s picture

update above - IE8 crashes most spectacularly when trying to run this.. Trying to figure it all out..

s_leu’s picture

Just added the newest Galleria Core JS (v. 1.2.3) to my local repository. This will be committed soon.

s_leu’s picture

Title: Support for Galleria 1.2 » Support for Galleria 1.2.3
Status: Active » Fixed

newest JS implemented, changes committed.

jackhutton’s picture

thanks. I'll try a reimplementation of this module & the twelve theme. ..

AdrianB’s picture

Great, thanks!

pribeh’s picture

Was this committed? I don't see a new commit as of May 26th - my birthday by the way - or afterward.

Thanks,

Thomas

pribeh’s picture

Oh, I guess this probably was committed to the D7 version of the module. Anyone interested in backporting?

pribeh’s picture

Status: Fixed » Active

Hi, so the original issue here was for integrating galleria 1.2.3 with the Galleria module for Drupal 6. Anyone up to the task?

Sorry for opening this again - as I'm not the maintainer - but I could either reopen the issue or start a new one.

miro_dietiker’s picture

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

This was fixed in D7.
No new features are added to D6 by current maintainers.

AdrianB’s picture

Ah, well, then I will redraw my "thanks" for now and come back when I'm using Drupal 7 :)

miro_dietiker’s picture

Well pity..
I'd do anything for your thanks, but i can't afford a D6 port ;)

Looking forward for your D7 happyness.

pribeh’s picture

Hey, can we keep this issue open for someone to work on the D6 port? Or should I open another issue for that? I will need this for two projects moving forward so I think I will get a programmer to work on it. Thanks!

miro_dietiker’s picture

As maintainers we usually don't support galleria feature backports.

However, if you do the work, just reopen it for review when providing patches.
Opening a new feature request issue for D6 would result in "wontfix" if you don't provide an immediate solution.

The D6 is bugfix only and lacks maintenance.

Status: Fixed » Closed (fixed)

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