Reupload previous batch with different file content #761
Replies: 2 comments 1 reply
-
Hey @sadrzadehsina From what you describe, I think the best way would be to create new uploads using the Context's upload method. Let me know how it goes. |
Beta Was this translation helpful? Give feedback.
-
Thanks @yoavniran for elaborating on this. I had a similar idea, but things aren't working as expected. Here’s what I’m dealing with: I need a crop function alongside the uploader, and I want the cropped selection to trigger a re-upload. This way, the cropped image stays synchronized with what the user sees. The issue is that whenever I use the upload function each time the cropped image changes, it resets everything, causing me to lose the previous crop selection. I am trying to create a demo for my problem so I can share it with you. |
Beta Was this translation helpful? Give feedback.
-
I'm implementing a crop function that allows users to crop the same image multiple times. The issue is that while the uploader successfully uploads the cropped image on the first attempt, subsequent attempts don't trigger the uploader to upload.
Is there a way to clear previous uploads when they’re in the finished state, or perhaps to create a new batch using a constructor?
Just to note, I created the preview component entirely from scratch and didn't use the
UploadPreview
component.Beta Was this translation helpful? Give feedback.
All reactions