Image not getting replace while upload
1. Since I am using unsigned preset I m not getting option to overwrite the existing image in media library having same public_id.
2. The field that is using for uploading the image is a dynamic field, and every time when I am changing the data-form-data attribute, it is not changing to the desired attribute rather even in when the upload API is getting called it is taking the first uploaded public _id as default.
-
Hi Joyesh,
Due to security reasons, you cannot use the unsigned preset in overwriting the existing image, rather you would have to use a signed upload preset.
I would also recommend using the upload widget to see if it will work better for your use case.
Let me know if this helps?
Best,
Brian
0 -
Hi,
at the end I have implemented server side nodsjs sdk. It worked.
Thanks
0
Post is closed for comments.
Comments
2 comments