j0e
j0e
TTCTheo's Typesafe Cult
Created by sher on 1/14/2024 in #questions
Image dimensions using UploadThing?
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.
3 replies