Path für Imgalbum

Ein CMSimple Support Forum für deutsch sprechende Nutzer und Entwickler
Ralf H.
Posts: 495
Joined: Sun Feb 16, 2014 1:45 pm
Location: Münsterland
Contact:

Re: Path für Imgalbum

Post by Ralf H. » Fri Apr 02, 2021 11:58 am

simpleSolutions.dk wrote:
Thu Apr 26, 2018 9:14 am
The short story is that If you have read documentation, you would never experience any path problems.
Just reading the help does not solve anything.
I have also not been able to determine exactly which path is required.
The blank was not -my- problem, but the question of the complete path name.

Not important for me now, because I will continue to use lb_gallary, although it is very old.
All other tested galleries have pleased me less.

bye,
Ralf
Badminton Individual-/Gruppentraining im Münsterland:
http://www.badminton-tips.de (deutsch)

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

Re: Path für Imgalbum

Post by Tata » Fri Apr 02, 2021 1:17 pm

Can you describe what problem you have with imagealbum (which version)?
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.

Ralf H.
Posts: 495
Joined: Sun Feb 16, 2014 1:45 pm
Location: Münsterland
Contact:

Re: Path für Imgalbum

Post by Ralf H. » Fri Apr 02, 2021 1:39 pm

v1.5

Folder is: userfiles\images\imgalbum\aquarelle\

What is the code to use?

Code: Select all

{{{imgalbum("aquarelle"); }}}
i only wanted to tell, that the TO was right: The help is not as clear, as in other plugins.
Please invest no time. I stay with lb_gallary
Badminton Individual-/Gruppentraining im Münsterland:
http://www.badminton-tips.de (deutsch)

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Path für Imgalbum

Post by cmb » Fri Apr 02, 2021 3:28 pm

Ralf H. wrote:
Fri Apr 02, 2021 1:39 pm
Folder is: userfiles\images\imgalbum\aquarelle\

What is the code to use?

Code: Select all

{{{imgalbum("aquarelle"); }}}
I think it should be

Code: Select all

{{{imgalbum('./userfiles/images/imgalbum/aquarelle')}}}
Using forward slashes even on Windows might be required.
Christoph M. Becker – Plugins for CMSimple_XH

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

Re: Path für Imgalbum

Post by Tata » Fri Apr 02, 2021 4:50 pm

That's right. The plugin call on my DEMOpage is

Code: Select all

{{{imgalbum('userfiles/images/gallery')}}}
.
Screenshot_2021-04-02 English Site Title imgalbum imgalbum.jpg
Screenshot_2021-04-02 English Site Title –.png
You do not have the required permissions to view the files attached to this post.
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.

Ralf H.
Posts: 495
Joined: Sun Feb 16, 2014 1:45 pm
Location: Münsterland
Contact:

Re: Path für Imgalbum

Post by Ralf H. » Sat Apr 03, 2021 7:52 am

This one works for me on xampp:

Code: Select all

{{{imgalbum('userfiles\images\imgalbum\aquarelle')}}}
But as i told:
At the moment, i will stay with lb_gallary
Badminton Individual-/Gruppentraining im Münsterland:
http://www.badminton-tips.de (deutsch)

simpleSolutions.dk
Posts: 155
Joined: Thu Oct 06, 2011 7:00 am

Re: Path für Imgalbum

Post by simpleSolutions.dk » Sat Apr 03, 2021 3:40 pm

Something like './userfiles/images/any_subfolder/next_subfolder/.
Usefiles/images are CMSimple standard and required.
Any_subfolder and subsequent are optional and can be omitted.

Ralf H.
Posts: 495
Joined: Sun Feb 16, 2014 1:45 pm
Location: Münsterland
Contact:

Re: Path für Imgalbum

Post by Ralf H. » Wed Nov 17, 2021 2:47 pm

Habe heute die neue Version von Imgalbum in Xampp installiert.
Plugin funktioniert, aber trotz deaktiviertem Debug-Modus wird angezeigt: Debug-Modus ist aktiv!
Mit aktiviertem Debug kommt keine zusätzliche Detailmeldung.

Imgalbum per .imgalbum deaktiviert und die Debug-Meldung ist wieder weg.

lg,
Ralf
Badminton Individual-/Gruppentraining im Münsterland:
http://www.badminton-tips.de (deutsch)

Ralf H.
Posts: 495
Joined: Sun Feb 16, 2014 1:45 pm
Location: Münsterland
Contact:

Re: Path für Imgalbum

Post by Ralf H. » Wed Nov 17, 2021 4:24 pm

Hm, jetzt habe 1x mit aktiviertem Debug die Einstellungen von Imgalbum aufgerufen und es wurde angezeigt:
NOTICE: Undefined variable: path
D:\xampp\htdocs\MWM\plugins\imgalbum\libs\gallery_adminfunctions.php:43
NOTICE: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor
D:\xampp\htdocs\MWM\plugins\imgalbum\libs\gallery_adminfunctions.php:227
Anschließend war die Fehlermeldung weg und es wird auch kein "Debug aktiviert" (trotz deaktiviert) mehr angezeigt.

Edit:
Mist. Nur im Backend keine Meldung mehr "Debug aktiviert".
In der Vorschau weiterhin.
Badminton Individual-/Gruppentraining im Münsterland:
http://www.badminton-tips.de (deutsch)

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Path für Imgalbum

Post by cmb » Wed Nov 17, 2021 4:31 pm

Ralf H. wrote:
Wed Nov 17, 2021 2:47 pm
Habe heute die neue Version von Imgalbum in Xampp installiert.
Plugin funktioniert, aber trotz deaktiviertem Debug-Modus wird angezeigt: Debug-Modus ist aktiv!
Mit aktiviertem Debug kommt keine zusätzliche Detailmeldung.
Schau dir mal imgalbum/libs/pagination/pagination.php an, und entferne dort folgende Zeile:

Code: Select all

error_reporting(E_ALL);
Das hat da nichts verloren.
Ralf H. wrote:
Wed Nov 17, 2021 4:24 pm
Bad file descriptor
Da werde ich mal Kururlaub machen. :D
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply