Overwrite image with public_id equal
Good night. I want replace or overwrite the image from cloudinary if have the same public_id, I use the unauthenticated api, in AngularJS, and after upload another image with the same public_id, the api return the first url, and not save the new image. Does anyone know how to solve this?
0
-
Hi
Note that you can use the "overwrite" parameter and set it to "true" when uploading in order to overwrite images.
If you are using unsigned uploads (i'm not sure if that is what you mean by "unauthenticated") then that parameter is set to false by default and cannot be changed to true in order to prevent overwriting existing files.
If you could elaborate further on what it is you are doing I might be able to further help.
0
Post is closed for comments.
Comments
1 comment