I have up开发者_开发知识库load control on my asp.net (C#) page, I always upload pictures. Is there any way to scale images before I upload ?
You'll have to do something like flash on the client to do this, have a look here and here for examples.
It can't be done in JavaScript, etc...you'll need something with a bit more file system access, e.g. Flash, Silverlight, JavaApplet, etc. But seeing as there are premade flash solutions out there, that's the route I'd take.
A couple of solutions to your issue are below, since you haven't really specified how/where exactly you want to handle the image scaling.
http://upload.thinfile.com/image/
http://www.resize-before-upload.com/
精彩评论