Closed skijash closed 9 years ago
It looks like Jcrop isn't properly loaded in your example. Are there any errors showing up in the console?
But the real problem seems to be that the image isn't correctly loaded. Are you sure that the image exists and that your MEDIA_URL and MEDIA_ROOT are setup correctly?
Same cenario for me. Nothing happens.
django-image-cropping (0.9) easy-thumbnails (2.2) Pillow (2.6.0) pip (1.5.6) ...
It would really help if we knew what to expect. You could add some printscreens to the docs.
My problem seems to be solved. In my case I just noticed I customized fieldsets and that the ImageRatioField was being displayed. Maybe the docs could explain it must be, since the croping is made in a widget for this field. I thought the image field would be the one changed.
Sorry, but I'd say the docs are already pretty clear about this:
The cropping itself happens in the ImageRatioField, the ImageCropField will still behave like a regular ImageField. If you're selectively including or excluding fields from the ModelForm, remember to include the ImageRatioField.
If you have specific suggestions for improving the current docs don't hesitate to send a Pull Request.
I solved the problem, and I sent a pull request for changing README.rst to clarify how a new project should be set up.
Hi, When I set up a new project and use the lib as described in the docs, admin doesn't work properly.![screen shot 2014-10-08 at 17 22 43](https://cloud.githubusercontent.com/assets/2774306/4561707/17839262-4eff-11e4-9660-c77ca95bb4f4.png)
$ pip list Django (1.7) django-image-cropping (0.8.4) easy-thumbnails (2.2) Pillow (2.6.0) wsgiref (0.1.2)