CodeIgniter Forums
ASK: AJAX image cropper integrated with CI's Image Lib - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: ASK: AJAX image cropper integrated with CI's Image Lib (/showthread.php?tid=16296)



ASK: AJAX image cropper integrated with CI's Image Lib - El Forum - 03-02-2009

[eluser]joneslee[/eluser]
Hello everyone,

I would like to ask CI experts about how to create an Javascript Image Cropper in which user select the area they want to crop then the image will be POSTED (AJAX) to CI to crop? I would love to see example code or tutorial.

Many thanks,


ASK: AJAX image cropper integrated with CI's Image Lib - El Forum - 03-02-2009

[eluser]TheFuzzy0ne[/eluser]
I very much doubt that such a thing exists for CodeIgniter. Why don't you see what you can come up with?

[url="http://www.nwhite.net/MooCrop/"]Here's MooCrop[/url]. Hopefully it will get you started.


ASK: AJAX image cropper integrated with CI's Image Lib - El Forum - 03-02-2009

[eluser]Colin Williams[/eluser]
Any JS cropper will end up with all the instructions needing by CI's Image_lib class (y_axis, x_axis, width and height). It should be trivial to connect the dots.