Sorry if this has already been answered, but I can\'t find it if so.
I want to find the height and width of an image file in Javascript. I don\'t actually need to sh
If you check this link here is a method to get all the image dimensions in a directory with PHP which checks it without having to load it to the page. This might help you. You can pass it to your js with a
var dimensions =
PHP Get dimensions of images in dir
I think this is a better approach if you really don't want to load the images