1
Answer

Image

Ask a question
Hi,

In my Web page,I have a Div section with height=302PX and width=302PX.
In another page,I had a File Upload control. When we will upload the image,then the image will be displayed in that Div section.
1.When the image is large,it should be re-size and display in that particular Div section completely.
   For Eg:The image size like 350PX*350PX and 1024PX*1024PX, it should be re-size to Div Section size has 302PX*302PX.
2.When the image is Small,it shouldn't be re-size and display in that particular Div section completely.
   For Eg:The image size like 50PX*50PX,100PX*100PX and 302PX*302PX ,it shouldn't be re-size and display in that Div section.
   For Eg:The image size like 15PX*15PX these will appear very small.But When uploading the file these images also should displayed completely with as it                  is  in that  Div section.But the image will displayed neatly.

3.If there are any tools for these type of conditions using ASP.Net.

Plz reply me ASAP.

 


Answers (1)