I wrote the upload code in trait, but when uploading, I want the photos to be resized. The size of the photos is different. How do I write the size part?enter image descript