Le 27/06/2014 22:48, jdd a écrit :
it's a bit late here for me to test this now, may be tomorrow if times allows
made some tests, without successs... I use a script to write a listing of *some* files in a folder, but I can only make it work running it locally - in my server, "ftp" listings are not allowed. script result: http://dodin.info/essai/th/index1.html without script http://dodin.info/essai/th/ the script is pretty basic: file="index.html"; echo "<html><body>" > $file; for I ; do echo $I echo -n "<a href=\"" >> $file ; echo -n "$I" >> $file ; echo -n "\">" >> $file; echo -n "$I" >> $file; echo -n "</a><br />" >> $file; echo >> $file; done ; echo -n "</body></html>" >> $file; you can easily change it to have images displayed. Use width and higth arguments to make images smaller (but this still needs downloading the hole image), or make thumnails at first with convert -resize 192x192 $I th-$I or similar. and if somebody can help making the script run right from index.cgi, I take it :-) jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org