WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => jQuery => Topic started by: nibz on February 19, 2013, 09:03:34 PM

Title: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: nibz on February 19, 2013, 09:03:34 PM
Hi all!,

I converted the great Gallerio (http://galleria.io) to a template which you can use with Foldergallery.

Please before trying to use this template upgrade or install the latest Foldergallery module from: http://addons.websitebaker2.org/pages/en/browse-add-ons.php?filter=Foldergallery&id=067A205


I have 2 versions

1: Self Upload version
this one you have to unzip and upload using a FTP-client (e.g. filezilla)

How it works:

2: Lib_jquery (libraryadmin) version
You need to have installed the following modules:
- WB Lib (https://github.com/webbird/wblib/downloads)
- Libraryadmin (http://www.websitebakers.com/pages/libs/libraryadmin.php)
- Lib_jquery (http://www.websitebakers.com/pages/libs/lib_jquery.php)

How it works:

Now you are able to select te template in your Foldergallery settings!

Demo and download: http://nibz.nl/foldergallery/galleria/
Title: Re: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: dbs on February 19, 2013, 09:36:23 PM
@2.: wblib is also needed

If you have nothing changed in the galleria.js you can make the default.preset with jqueryadmin-path (instead lib_jquery-path).
LibraryAdmin will to correct this automatically, and so can also jQueryAdmin use the same plugin.
Title: Re: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: nibz on February 19, 2013, 10:36:37 PM
@2.: wblib is also needed

Thanks (forgot to mention) - Added to the requirements


If you have nothing changed in the galleria.js you can make the default.preset with jqueryadmin-path (instead lib_jquery-path).
LibraryAdmin will to correct this automatically, and so can also jQueryAdmin use the same plugin.

I changed nothing and the zip contains a default.preset will check if it works without lib_jquery.

Thanks for the comment!, so far as i know there is no real documentation about Libraryadmin though it is a very powerfull and complicated module, with which you can create really great things! (or is there a advanced docu ?)
Title: Re: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: BlackBird on February 20, 2013, 10:41:32 AM
In German only. :roll:

http://www.webbird.de/WebsiteBaker/LibraryAdmin
Title: Re: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: serechai99 on October 30, 2013, 11:52:16 AM
For web browsing, great for myself and many other people and the other is a web

that many people like to get new ideas.
Title: Re: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: sky writer on September 26, 2014, 03:26:03 AM
I'm very excited to try this, but I get an error when I try to upload the plugin in LibraryAdmin - JQuery:
"The file is not a valid Plugin! (Missing file "default.preset")"

Can you offer any suggestions on how to troubleshoot this?

Edit:
I figured out the problem.  The zip contained the installation files within a folder.  I zipped the contents of the folder and all uploaded as expected.
Title: Re: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: dbs on September 26, 2014, 08:01:26 AM
At the end, the name of the new zip-file (with all files inside) should be "wb-galleria", right?
Title: Re: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: nibz on September 26, 2014, 01:57:53 PM
@dbs you were completely right!

I updated my download: https://github.com/nibz/Galleria-Lib_jquery/releases/download/0.1/wb-galleria.zip
also corrected a mistake in the loader.preset.

Thanks you ;)
Title: Re: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: sky writer on September 26, 2014, 10:16:24 PM
I didn't have any luck with the original plugin, so I deleted it and uploaded this latest version.  Unfortunately, I'm having trouble with it as well.  I get the thumbnails across the bottom, but the top image is missing.  And if I click on the thumbnails I get the following is red:
"Fatal error: Stage width or height is too small to show the gallery. Traced measures: width:490px, height: 13px."

How do I configure this plugin.  There is a gear beside the fancybox plugin in LibraryAdmin/Jquery, but only the option to delete this Galleria plugin.
Title: Re: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: nibz on September 27, 2014, 06:10:16 PM
@skywriter. I will have time tomorrow to take a look.
Can you PM me a link, just to be shure.
Title: Re: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: nibz on September 27, 2014, 11:10:08 PM
@skywriter

Seems the galleria CSS is not loading properly.
Try to add this line to your CSS (you could change the height if you want):
Code: [Select]
#galleria {height: 320px}

Please let me know if this works for you.
If this doen't work please PM me a link so i can see the problem myself.

Kind regards,

Robin
Title: Re: Galleria (http://galleria.io/) converted to a foldergallery template
Post by: sky writer on September 28, 2014, 02:51:55 AM
Thank you for the kind reply.  You were correct, for some reason the "style.css" file was not even on my server installation.  I removed the plugin and re-uploaded it and now style.css is present.  But things still don't look quite right.  I will PM you the URL.

I assume there is no backend configuration GUI.  Is it possible to change the look of the plugin?  What I really want is for the thumbnails to be vertical down the right side of the main image... and for the information to always be visible, but instead of it being superimposed, I would like it to appear below the main image.

Maybe I am asking too much of the plugin.