Add urls in Photo model.
Fix redirect urls.