fixes to image upload
Merge pull request #1 from LaunchPadLab/image-upload-fixes

fixes to image upload