Quote:
Originally Posted by salesman
I think there's function on the client to check image width and height which you might be able to use (an image that doesn't exist should have a width/height of 0)
|
There's
getImgWidth and
getImgHeight. They can be used on both serverside and clientside. If you use one of them clientside for a file that is uploaded on the server, but the client doesn't have, it will return zero and then start downloading the file, so it's not the best way to check if a file is on the server (you would have to check again when the file is downloaded).