The part you want is in here.
http://www.commadot.com/jquery/easebox/
It's the function called resizeZoom() that figures out the aspect ratio.
(Click the top left image)

Someone else on the list provided it for me a while back.

The page as a whole is still VERY buggy.  Its on my list to redo.

Glen

On 8/5/07, LSUDVM <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> i can now read the values of the input file filed and set the img src
> to that value for a preview of the image prior to u pload. But what i
> need to do now is resize this large image when showing the preview
> prior to upload AND maintain aspect ratio. Possible?
>
> Ashok
>
>

Reply via email to