imgalbum not working

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Post Reply
Tata
Posts: 2974
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

imgalbum not working

Post by Tata » Thu Jan 12, 2017 8:45 am

Testing the plugin with CMSimple_XH 1.6.9 local the imgalbum doesn't work at all. The images are uploaded to userfiles/galleries/2013/03.
Using

Code: Select all

{{{PLUGIN:imgalbum("userfiles/images/galleries/2013/03");}}} 
I get

Code: Select all

* @author crop by simpleSolutions * @version 1.48 <2005/07/18> * @copyright GNU General Public License (GPL) **/ /* // Sample ------------------------------------- $thumb=new Thumbnail("source.jpg"); // set source image file $thumb->size_width(100); // set width for thumbnail, or $thumb->size_height(300); // set height for thumbnail, or $thumb->size_auto(200); // set the biggest width or height for thumbnail $thumb->size(150,113); // set the ...
Also no images are shown in the backend. I have also tried to upload some images. I see only their names, no thumbs.
I see that a folder /galleries/2013/03 has been created in the root. But this is also empty. Create watermarks doesn't work neither.
I have tried to reinstall the plugin. Something else must be wrong.
XHdebug returns

Code: Select all

( ! ) Fatal error: Class 'Thumbnail' not found in D:\webserver\www\cmsimplexh\plugins\imgalbum\libs\gallery_functions.php on line 150
Any hint? THX in advance.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

lck
Posts: 1683
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: imgalbum not working

Post by lck » Thu Jan 12, 2017 12:07 pm

Eventuell ein jQuery-Problem. Wird jQuery+UI geladen, wenn nicht dann Autoload in der jQuery-Konfig aktivieren.
See http://simplesolutions.dk/?Gallery_Coll ... n_Problems
6. Known Problems
If you experience any conflicts between this plugin and jQuery based menus, AddThis etc. try to change the order when java scripts and stylesheets are loaded in the template. You can also activate Autoload option in jQuery plugin.
Ist der Pfad zum image-Ordner in der Konfiguration einstellbar/eingestellt?

Plugin-Aufruf evtl. nur so:

Code: Select all

{{{PLUGIN:imgalbum("galleries/2013/03");}}} 
oder richtiger so?

Code: Select all

{{{PLUGIN:imgalbum('galleries/2013/03');}}} 
Last edited by lck on Sun Jul 28, 2019 7:48 pm, edited 1 time in total.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Tata
Posts: 2974
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: imgalbum not working

Post by Tata » Thu Jan 12, 2017 12:50 pm

Danke, werde abends versuchen.
Abends:
Ja, das wars. Mit jQuerry-UI es geht schon.
Nochmal danke.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply