Thread: Image upload
View Single Post
  #8 (permalink)  
Old October 19th, 2004, 08:01 AM
pgtips pgtips is offline
Friend of Wrox
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post

I believe that fileSize is a proprietary Microsoft addition.

Are you sure Moz is loading the image? (Afraid I don't have a copy of Moz so can't try it out)

Just for debug purposes, try adding an image tag to your page and setting the source of that to your input file. If that works OK add another button and see if you can get the h/w from the <img> tag. If this works then maybe the solution for Moz is to add a hidden img tag and use that to check the image dimensions. If it doesn't work, you will at least know which part doesn't work (loading the image or getting the size).