Working timeouts, first draft of photos.json