Hi
Is it possible to somehow get the width and height of an image that is not
uploaded yet.
Ex.
<input name="upload" type="file" onchange="some javascript that sends the
width and height to a div like getElementById" >
So when is click browse and finds an image it will write the width and
height in a div somewhere else on the page.
So it is before the form is submittet ?
It would also be ok if it was a button you clicked after you have browsed
you image.
It just has to be before upload..
Is it possible to somehow get the width and height of an image that is not
uploaded yet.
Ex.
<input name="upload" type="file" onchange="some javascript that sends the
width and height to a div like getElementById" >
So when is click browse and finds an image it will write the width and
height in a div somewhere else on the page.
So it is before the form is submittet ?
It would also be ok if it was a button you clicked after you have browsed
you image.
It just has to be before upload..
Comment