django-image-cropping icon indicating copy to clipboard operation
django-image-cropping copied to clipboard

I am getting 2 images with the crop window instead of just 1

Open sureshvv opened this issue 8 years ago • 3 comments

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?

sureshvv avatar Nov 26 '16 22:11 sureshvv

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

coler-j avatar Jun 11 '17 18:06 coler-j

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.

coler-j avatar Jun 11 '17 18:06 coler-j

We should probably add this to our docs.

I would be very happy to accept a documentation PR, @coler-j @sureshvv

MRigal avatar May 07 '20 08:05 MRigal