You cannot restrict the image resolution client side without using a plugin (silverlight, java applet, flash) you can however resize the image once its been uploaded. But to prevent the image looking wierd, you will need to maintain aspect ratio.
On Mar 4, 5:23 am, vishal sharma <[email protected]> wrote: > my project has student profile and there's a fileupload control where user > upload his image which set in my div tag... > question is how can i set resolution of that image such that i can fit it > into that div control... > my div control is fixed size .. 90 * 30 .. > any way to do that in asp.net > > thanks -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
