Added hotfix for uploading images