determine file size (in bytes)

wxdqz

New Member
I'm working within a JSP where I'm being sent a series of URL paths to images to display on a page. Somtimes, and without being able to tell based on the URL, the image passed to me is a blank image, of 902 bytes.

Is there a way for me, in JavaScript, to determine the size of an image if all I have is a URI to that image?
 
Back
Top