Author: jashwant | Posted on: 3/1/2010 12:04:13 PM | Views : 427

I want my users to upload their photos to my website. I am using fileupload for this. I have jquery to crop the image to desired size ( according to user).


What I am doing is this, when a user uploads a photo,  I use the uploaded image's address as  ImageUrl , and the user gets its pic dynamically as soon as he uploads it. And then with the help of jquery , user can crop it to dimension of his/her choice. Finally, I get a cropped and smaller image.



But the real problem is this,  if a user uploads a picture of greater dimensions ( e.g. 1600x1200) , image covers up all the screen, so I want a method so that the uploaded image get restricted to a fixed height and width (say 500x5500) before it is available for cropping to the user.


I have tried .......,
Image's Width=500, Height  = 500 ( using asp:image ) and  at ...

Go to the complete details ...