Skip to main content

Replace image, keep image ref url



  • Raya Straus

    Hi Kelly,

    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.


  • Lara

    This answer is useful for us too.


    Thank you!

  • mirth

    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 ?

  • Tia Esguerra

    Hi there, 

    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 

    I hope this helps. If you have any questions, do not hesitate to ask.

    Kind Regards, 



Post is closed for comments.