I only have a URL to an image. I need to determine the height and width of this image using only JavaScript. The image cannot be visible to the user on the page. How can I g
Make a new Image
Image
var img = new Image();
Set the src
src
img.src = your_src
Get the width and the height
width
height
//img.width //img.height