Allow republishing of deleted photos

Added getPhoto API
Ensure published photo URLs are correct