This addon register Galleria JQuery plugin in Plone's resource registries.
About Galleria
Galleria is a JavaScript image gallery framework built on top of the jQuery library. The aim is
to simplify the process of creating professional image galleries for the web and mobile devices.
How to install
https://secure.travis-ci.org/collective/collective.js.galleria.png
This addon can be installed as any other Plone addon. Please follow official documentation.
Have an idea? Found a bug? Let us know by opening a support ticket.
Notes
Galleria in its way to manage theme parse all link tags to find the css attached to the theme. To
make it work in production mode you must add themes javascript and css called by the template.
// look for manually added CSS
$(link ).each(function( i, link ) {
reg = new RegExp( theme.css.replace(\+\+resource\+\+ ,\\+\\+resource\\+\\+ ) );
if ( reg.test( link.href ) ) {
// we found the css
css = true;
Galleria.theme = theme;
return false;
}
});
As you can see the original code has been patched to support ++resource++ url.
|