Fix for uploading image - works now