An easy way to get the dimensions of an image from a link.
To deploy this project run
npm i image-size-from-url
import getImageSize from 'image-size-from-url';
const {width, height} = await getImageSize('URL');
- .jpg
- .png
- .gif
- .webp
- .svg
- .ico
- .psd
- .bmp
- .cur
- .dds