Path für Imgalbum
Re: Path für Imgalbum
Hallo zusammen.
habe http://3-magi.net/de/?CMSimple_XH/Foldergallery_XH ausprobiert aber leider keine guten Ergebnisse erzielt!
Jetzt habe ich von http://pluginxh.iseye.eu/?Plugins/Fotorama Fotorama installiert!
Funktioniert "super" und ist einfach zu administrieren!!
Kann ich diese Thema auf erledigt setzen ?
Nochmal Danke an alle Helfer
mit freundlichem Gruß
Jürgen
habe http://3-magi.net/de/?CMSimple_XH/Foldergallery_XH ausprobiert aber leider keine guten Ergebnisse erzielt!
Jetzt habe ich von http://pluginxh.iseye.eu/?Plugins/Fotorama Fotorama installiert!
Funktioniert "super" und ist einfach zu administrieren!!
Kann ich diese Thema auf erledigt setzen ?
Nochmal Danke an alle Helfer
mit freundlichem Gruß
Jürgen
Re: Path für Imgalbum
Halte ich eigentlich für unnötig. Auch wenn sich das Thema für dich erledigt hat, möchten andere die Diskussion vielleicht noch fortführen.
Vielleicht muss man das ja auch gar nicht, sondern hätte nur {{{imgalbum("gallerie");}}} schreiben müssen.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Path für Imgalbum
Diese Option der Pfadangabe gibt es in der Plugin-Konfiguration eben nicht.
Ja könnte man, aber gibt man es so ein, so wir der Ordner der Galerie halt im Root von CMSimple_XH erstellt, also unter ./gallerie/
Aber so oder so angegeben, da stimmt auch etwas mit der Plugin-Administration nicht. Die Galerie kann einfach nicht auswählen, bzw. taucht in der Select-Liste gar nicht auf, da steht nur " /". Sieht in der Adresszeile dann so aus:
Code: Select all
http://localhost/cmsimplexh172/?&imgalbum&admin=plugin_main&path=%20/&action=view
Code: Select all
http://localhost/cmsimplexh172/?&imgalbum&admin=plugin_main&path=userfiles/images/imgalbum/&action=view
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: Path für Imgalbum
Ah, danke!
Da scheint sich ein Leerzeichen (kodiert als %20) eingeschlichen zu haben. Bei mir (diverse PHP-Version; alles XAMPP unter Windows) funktioniert {{{imgalbum('./userfiles/images/gallery');}}} (auch ohne ./ am Anfang) wie gewünscht.lck wrote: ↑Thu Apr 05, 2018 10:27 amAber so oder so angegeben, da stimmt auch etwas mit der Plugin-Administration nicht. Die Galerie kann einfach nicht auswählen, bzw. taucht in der Select-Liste gar nicht auf, da steht nur " /". Sieht in der Adresszeile dann so aus:Code: Select all
http://localhost/cmsimplexh172/?&imgalbum&admin=plugin_main&path=%20/&action=view
Christoph M. Becker – Plugins for CMSimple_XH
Re: Path für Imgalbum
Tatsächlich Christoph , da war doch ein Leerzeichen vor dem ersten einfachen Anführungsstrich ( 'userfiles/...)!
Code: Select all
{{{imgalbum( 'userfiles/images/imgalbum');}}}
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
-
- Posts: 155
- Joined: Thu Oct 06, 2011 7:00 am
Re: Path für Imgalbum
Hi
If anybody still needs my heip, please write English
If anybody still needs my heip, please write English
Re: Path für Imgalbum
It seems the issue has been resolved, but maybe you could improve the gallery detection somewhat. Presently, the following plugin call does not work as expected:simpleSolutions.dk wrote: ↑Thu Apr 05, 2018 11:44 amIf anybody still needs my heip, please write English
Code: Select all
{{{imgalbum( './userfiles/images/gallery');}}}
Code: Select all
$i = trim(substr($i, 0, strpos($i,"'",1)),"'");
Code: Select all
$i = trim($i);
Christoph M. Becker – Plugins for CMSimple_XH
-
- Posts: 155
- Joined: Thu Oct 06, 2011 7:00 am
Re: Path für Imgalbum
The short story is that If you have read documentation, you would never experience any path problems. Just to quote documentation:
It should be not necessary but I will implement Christophs suggestion in next release.
.to create and view a gallery folder enter
{ {{imgalbum( "path_to_gallery_folder );}}} (without space between "{ {{")
somewhere on your page.
Save your page and finish editing by switching to "view mode" and plugin will create all necessary folders. Use plugins administrations interface or ftp to upload images. The plugin creates itself necessary thumbnails and watermarks according to settings in plugin configuration file.
It should be not necessary but I will implement Christophs suggestion in next release.
Re: Path für Imgalbum
@Jerry
In plugins\imgalbum\libs\lightbox\js\lightbox.js in line 56 + 57 is a typo:
(Images not found.)
It must to be called:
In plugins\imgalbum\libs\lightbox\js\lightbox.js in line 56 + 57 is a typo:
(Images not found.)
Code: Select all
fileLoadingImage: './plugins/imgcarousel/libs/lightbox/images/loading.gif',
fileBottomNavCloseImage: './plugins/imgcarousel/libs//lightbox/images/close.gif',
Code: Select all
fileLoadingImage: './plugins/imgalbum/libs/lightbox/images/loading.gif',
fileBottomNavCloseImage: './plugins/imgalbum/libs//lightbox/images/close.gif',
Re: Path für Imgalbum
In File \plugins\imgalbum\libs\gallery_adminfunctions.php insert this line in 438:cmb wrote: ↑Thu Apr 05, 2018 11:54 amPerhaps inserting the following line before would make the recognition more resilient:Code: Select all
$i = trim($i);
Code: Select all
...
if(strlen($i)>0){
$i = trim($i); // ***NEW***
$i = trim(substr($i, 0, strpos($i,"'",1)),"'");
...
Code: Select all
{{{imgalbum('gallery/grafik');}}}
But, in Adminmode I have a Debug-Message:
WARNING: in_array() expects parameter 2 to be array, null given
...\plugins\imgalbum\libs\prettyphoto\index.php:23
You do not have the required permissions to view the files attached to this post.