debugging server photo post handler