Add image attributes to file uploader