Amel,
You can upload the images to the server first and use the resize the image site using the CuteEditor online image editor. With online image editor, you can resize, change dimensions, scale, crop, add text, optimize, rotate, flip, mirror and add watermark.
The CuteEditor also have an autoresize feature. If uploaded images are too large to display for your applications (for example the width of image is bigger than MaxImageWidth) , automatic resizing makes them fit and keep the original ratio automatically.
Hope it helps.
Let me know if you have any further questions.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx