using appcache
loading a local file as url
display all photos