I want to convert and resize image beforw uploading to s3. But i have so confused where to find the documentation for override upload function. Can anyone tell me?