incoming photos are saved, and photo objects are created