jonasundderwolf / django-image-cropping

Django helper application to easily and non-destructively crop arbitrarily large images in admin and frontend.
Other
553 stars 130 forks source link

ImageCroppingMixin causes FileBrowser widget to not be displayed. #103

Closed sonarun closed 3 years ago

sonarun commented 7 years ago

When using FileBrowser and Django Image Cropping the Widget for the cropping field is not displayed. Implemented in the Admin field using ImageCroppingMixin.

screen shot 2016-09-09 at 7 08 07 pm

In the admin, the cropping field disappears (I assume this is correct) and the JCrop widget should appear? However it doesn't. Chrome is loading the Jcrop resources.

screen shot 2016-09-09 at 7 10 21 pm

Obviously, when I remove the mixin, the FileBrowseField shows up like it should. I also tried implementing the system using an admin form and the same thing happens when using the ImageCropWidget

Meanwhile, the FileBrowser changelog for 3.7.2 says that FILEBROWSER_VERSION_PROCESSORS should be used in the admin, while the DIC docs say FILEBROWSER_PROCESSORS. Is this correct? http://django-filebrowser.readthedocs.io/en/latest/settings.html#settingsversions-processors

Thank you for looking into this.