Fix html attributes on the image-upload element