Hi, i also started using django-image-cropping and i found that we can specify a custom Jquery version in the Django settings like this
IMAGE_CROPPING_JQUERY_URL = "<Jquery CDN>"On Thursday, June 9, 2016 at 9:34:53 PM UTC+1,
sevenr...@gmail.com wrote:
I'm try to use jquery and python to "crop" a image in Django. I want to work in admin but also in front-end.
The user selects a box/rectangle, for the portion of the image that he want to crop.
django-image-cropping
package is close to what I want, but I have some problems in admin, use a old jquery version(need to maintain two) and seems that is not working very well with cdn.
I like the jquery part using http://deepliquid.com/projects/Jcrop/demos.php.
sorl-thumbnail, django-versatileimagefield are good but they don't have the jquery implementation that I want.
I can try also do it without a package if I can find a good tutorial. I found many tutorials for php but nothing yet for python.
Can you guide me, give me an example and how to do it ?
| |
|---|