fixed image viewer
added public to gitignore