To create a single thumbnail convert -define jpeg:size=500x180 Zstructures0378.jpg -auto-orient -thumbnail 250x90 -unsharp 0x.5 thumbnail.gif To make a directory listing: $ for i in `ls`; do echo $i|sed 's/.*/&<\/a>/'; done To make a bunch of thumbs for all files in dir: $ for i in `ls`; do convert -define jpeg:size=500x180 $i -auto-orient -thumbnail 250x90 -unsharp 0x.5 t_$i; done Make a list of thumbnails: $ for i in `ls t_*`; do echo $i|sed 's/.*/&<\/a>/'; done>thumblist.htm Make a contact sheet from list of thumbnails: $ sed 's/=t_/=/;s/t_.*jpg//' thumblist.htm >thumbpix.html results at http://cs.sru.edu/~ddailey/P/T/thumbpix.html