tags:

views:

203

answers:

2

Is there any good image editing component for ASP.NET MVC? That can crop/re-size/rotate etc

A: 

There are tons of jQuery image editors you could try.

Something like http://deepliquid.com/content/Jcrop.html

Skiltz
+1  A: 

As said cropping is easy using the jcrop jquery plugin. That leave you with resizing ,also relatively easy in javascript, the big issue is rotate. For rotating to work you need to work with a canvas (or flash). The canvas element is currently supported by all browsers except for IE. IE has its own kind of canvas implementation.

Just remember this is just client side code, and you'll need to do a lot of work in order to combine all the functionality of the three needed plugins.

Once you have it working on the client, you'll have to find a way to dump all of the parameters into hidden fields and send it to the server. On the server you'll need System.Drawing to actually change the image.

A good place to start finding good plugins is either Google or jQuery Plugin repository

Gidon