Changed Photo from singleton to standard object. Basic upload works.