Changed the result of getting all the photos