Good point Shawn, BUT that won't (or at least shouldn't) work on
modern browsers due to security reasons, so it's not a reliable
solution.

The only *real way* is with a Java Applet (and maybe Flash).

On Mar 4, 1:58 pm, Shawn <[EMAIL PROTECTED]> wrote:
> I don't know of any reliable way to do so.
>
> But if I were to speculate a bit....
>
> If you were to use JS to create an img object and set it's src to the
> local path to the image file.  Then use the .ready() method on that
> object, you *might* be able to extract the height/width, put those into
>   form elements, then submit your form (thereby uploading the file AND
> the dimensions).
>
> But that is pure speculation.  I haven't done it.  Yet I don't see any
> reason that wouldn't work.... (then again I haven't gone to be yet since
> this time yesterday morning.... sighs).
>
> HTH
>
> Shawn
>
> Xinhao Zheng wrote:
> > hi all,
>
> >     is there a way to do this that can work both under ie and FF.thanks
> > in advance.
>
> > George

Reply via email to