prepare for returning photos