Closed chriscz closed 7 years ago
I've looked at this again, and now I'm not too sure that this bug is in dango-image-cropping. This might be a side effect of one of my other dependencies, since I found that excluding django-file-picker
, makes image_cropping work fine, and
image_cropping_jquery_url = "None"
as required. I'm not too sure on why it couldn't be extracted though. And since I've abandoned integrating the two (after an afternoon's worth of difficulty), I can't provide much more information. So feel free to close this issue.
For me, changing image_cropping_jquery_url to null doesn't fix the issue unfortunately.
I guess it's not related to #103
I can't really reproduce the issue as I am not using django-file-picker (we are about to move the backend to a separate repo for exactly this reason -> https://github.com/jonasundderwolf/django-image-cropping/commit/1047160a276b64ef8f002b764522037a278443fe)
But as we have test that checks if the setting works (https://github.com/jonasundderwolf/django-image-cropping/blob/master/example/tests/test_settings.py#L21) it really sounds like the issue is not on our side and therefore I am closing this issue.
Hi there. In the doucmentation it is said that setting
should result in django-image-cropping using the existing jQuery library. However I found this not to be the case. There is a null check against
image_cropping_jquery_url
, however it checks for the string "None" , whereas the actual value is none.so maybe your intention was to check against "none"?
I discovered this issue while trying to use django-image-cropping in conjunction with
django-file-picker
The fix seems simple enough, replace
with
This might be related to issue #103 .