You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set a preview image with initialPreview and set the overwriteInitial: true to replace the preview image with the uploaded one.
So far so good, but if the user want to remove the uploaded image, he can do that. I want to forbidden the uploaded image to be deleted, the user could only replace for another one.
My intent is not allow a break of my layout, adding and removing the image.
By the way, really cool plugin, good work.
The text was updated successfully, but these errors were encountered:
Track the enhancement being done in #205. With that enhancement, you can return an associative array object containing the new initialPreview and initialPreviewConfig via the events filebatchuploadsuccess and filebatchuploadcomplete.
I set a preview image with
initialPreview
and set theoverwriteInitial: true
to replace the preview image with the uploaded one.So far so good, but if the user want to remove the uploaded image, he can do that. I want to forbidden the uploaded image to be deleted, the user could only replace for another one.
My intent is not allow a break of my layout, adding and removing the image.
By the way, really cool plugin, good work.
The text was updated successfully, but these errors were encountered: