Added image file upload support.