django-image-cropping
django-image-cropping copied to clipboard
I am getting 2 images with the crop window instead of just 1
I am using crispy_forms. Could this be the reason?
I have an ImageCropField and 3 ImageRatioFields in my ModelForm. I expect to get 4 images on my form. But I get 7. An extra one for each of the ImageRatioFields that look identical to the each other. Any idea why?
Did you figure out why? I am using Crispy forms as well, and this happens to me (but it does not happen in the admin). @sureshvv
It seems that with crispy forms you do not need to include the {{form.media}} in the header, as crispy includes this info in the form content. I removed the {{form.media}} in my header and this issue went away.
We should probably add this to our docs.
I would be very happy to accept a documentation PR, @coler-j @sureshvv