Closed whmsysu closed 8 years ago
Did you use the ImageCroppingMixin in Admin or the ModelForm widget?
I have faced with this problem too. And i'm start digging, spent lot of time and finally found answer - if your image field has another widget already (like mine, field was defined like "ImagePreviewFIeld", not "models.ImageField" in my models.py), then image-cropping widget doesnt work. So, maybe your problem is exactly like mine. Or maybe not. I just think that i need to warn you about this.
I am also having this issue..
This looks pretty much like a configuration issue. Make sure you follow the docs and check if the JS is correctly loaded. You can look at the example app to see how things should be setup.
thank @anrie
I fixed it by setting the MEDIA_URL and MEDIA_ROOT in settings and urls.py
I follow the steps list on the page and do the migration job for the project. But when I open the backend, i can only see the original image backend admin.