Fixes detection for image file: cURL might not detect content-type correctly
Merge branch 'develop' into user