Closed fekoh closed 6 years ago
You figure this out? Mine only shows the image after saving the image to the model and reloading the form with the saved instance.
Does the example app that comes with django-image-cropping work for you?
The example is working - just tried it.
$ pip freeze
Django==1.11.5
django-appconf==1.0.1
django-image-cropping==1.1.0
easy-thumbnails==2.4.2
olefile==0.44
Pillow==4.2.1
pkg-resources==0.0.0
pytz==2017.2
six==1.11.0
Screenshot:
I will try later to implement it in my project.
Thank you for looking into/fixing it!
Implemented it and works great. Thanks!
Django==1.11.1 django-image-cropping==1.0.4 python 3.5.3
If i follow instructions how to add a cropping widget outside the admin, the ImageRatioField does not show any image.
Screenshot:
forms.py
form.html