#!/bin/bash
/bin/ls -1 *.{jpg,JPG,jpeg,JPEG,png,PNG} 2>/dev/null | while read img ; do
    xv  -root -rmode 5 -maxpect -quit "$img" 2>/dev/null
    sleep 3
done
ViewGit