prevent blank page on init page load
support loading photos from flickr on the detail page