got it :-)) Here is the script. beware to don't mix single and double quotes, it's even more picky in cgi than in html :-(. I named this script images.sh, but the extension must probably only meet the .htaccess one #!/bin/bash echo "Content-type: text/html" echo "" echo '<html>' echo '<head>' echo '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">' echo '</head>' echo '<body>' for name in *.jpg do echo "<br />" echo '<img src='$name' height="42" >'; echo $name echo "<br />" done echo '</body>' echo '</html>' exit 0 my .htaccess: Options +ExecCGI AddHandler cgi-script .cgi .pl .sh Order allow,deny Allow from all and be warned: this displays only thumbnails, but download the hole image, so may be impracticable on 3g network or aeven on wifi with simpler smartphone/tablet jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org