Custom Image Name - Public ID already exists
When you upload an image using the upload widget and you set the public id / image name. Does the image name increment if it already exists?
For example, you load an image and set the public ID to be the name of the image, which is "this-image-name.jpg"
Later you try to upload a different image that happens to have the same name, can it increment .. for example, "this-image-name-1.jpg"? Or is that something you have to do, i.e. run a check each time you upload to make sure the name does not already exist? and if it does than increment?
From my initial tests, it looks like the second image simply doesn't upload, but just wanted to be sure there is nothing that I'm missing? Thanks in advance.
Post is closed for comments.
Comments
1 comment