Pictscape is a project mainly written in JAVASCRIPT and PHP, it's free.
PHP Picture Viewer
404: Not Found