koendewit / django-client-side-image-cropping

Widget for the Django ImageField that provides an interface for cropping the image client-side to a specific size.
BSD 3-Clause "New" or "Revised" License
17 stars 11 forks source link

Choosing an image then canceling and rechoosing the same image, doesn't open the modal #11

Open youssef3laa opened 2 years ago

youssef3laa commented 2 years ago

The library works alright, except for when I include the js and css files in the tag, they show and save as a black image. Also when I choose an image and cancel the cropping then rechoose the same image again, the modal doesn't open. Only opens if I choose another image or if I refresh the page.

youssef3laa commented 2 years ago

Can the model width and height be dynamic through the front-end? so I could adjust it instead of it being fixed.