enables image uploading