fixed image uploading bug
Merge pull request #160 from calblueprint/fix-image-uploading

fixed image uploading bug