asaglimbeni / clean-image-crop-uploader

Clean Image Crop Uploader (CICU) provides AJAX file upload and image CROP functionalities for ImageFields with a simple widget replacement in the form. It use Modal from twitter-bootstrap.
http://asaglimbeni.github.com/clean-image-crop-uploader/
Other
40 stars 36 forks source link

Resubmit Image problem #7

Open kkarwows opened 11 years ago

kkarwows commented 11 years ago

When form is submited and validation ends with errors, form is rerenderend with image preview, but resubmitting form does'nt resubmit image (explained here: http://stackoverflow.com/a/5293998). Moreover, next submit (also ending with fom validation error) rerender form without image preview. There are two solutions: remove preview after form validation ends with error and gets rendered again OR add something like this: https://github.com/un1t/django-file-resubmit.