Replace image, keep image ref url
Ou company has different versions of the company logo. Currently our staff put the image ref url in their email signatures so the logo will appear in their signature.
We would like to be able to change and update that image without changing the image ref url so that when we want the "holiday logo" to appear (for instance), the staff need not go into their signature and change the image ref.... we simply change the image itself in cloudinary.
Is this possible?
Thanks for reaching out.
This is indeed possible. Please refer to the article we wrote on the subject -
Hope this helps,
please let me know if you have any further questions.
hi this didnt work for me , please assist if possible ...
the problem is my original image was located at /image/upload/v1673878048/signature/banner_bo8c4k.png and the new image i created with same public_id ie banner_bo8c4k
has a slightly different url being /image/upload/v1673878601/signature/banner_bo8c4k.png the difference being at "vXXXXXXXXX" ... so how do i make my new image have the same v1673878048 part ?
The vxxxxxxx that you mention is a timestamp of when the asset was uploaded. That's why it will be different even if you overwrite an asset by keeping the same public id. However, this version / timestamp component does not need to be in the URL. You can omit it and the URL will work just fine.
You can refer to this article for more information on asset versions https://support.cloudinary.com/hc/en-us/articles/202520912-What-are-image-versions-
I hope this helps. If you have any questions, do not hesitate to ask.
Post is closed for comments.