Image dimensions using UploadThing?
Is there anyway to get the width and height dimensions of images being uploaded using UploadThing?
1 Reply
You could briefly append it in the DOM and get the width and height after the fact but I agree knowing the width/height after uploading would be useful, especially on NextJS where <Image/> requires px dimensions.