View on GitHub


Clean Image Crop Uploader (CICU) provides AJAX file upload and image CROP functionalities for ImageFields with a simple widget replacement in the form. It use Modal from twitter-bootstrap.

download .ZIPdownload .TGZ

clean-image-crop-uploader (CICU)

clean-image-crop-uploader is a django widget to upload an image via Ajax and crop it using Jcrop. It provides a simple workflow: first one, using modal, (by twitter bootstrap) the image can be uploaded and croped. Second one, you can see the image cropping preview in the form and finally submit the result.

CICU is perfect when you use an ImageField on your model where is necessary to have a specific portion of image. It's easy to configure and to use. You can use different configurations , with fixed aspect ratio or minimal image size.

It works with jQuery = 1.8.3 and twitter bootstrap.





Run the example

To run the example inside this package follow these commands:

> cd ./example/
> python syncdb
> python migrate # only if you use South!!!
> python collectstatic
> python runserver domain:8000

Go to examples :