How can I rename a transformed asset?

Sovik
Sovik Member Posts: 22
edited December 2023 in Developer APIs

How can I rename a transformed asset?

Tagged:

Answers

  • Tom
    Tom Member, Cloudinary Staff Posts: 45

    Hi @Sovik ,

    Thanks for reaching out. 

    To change a name of a transformed asset, you need to rename the original asset after which the rename will be applied to all the derived versions of the asset.

    The rename can be done easily via the Media Library UI (https://support.cloudinary.com/hc/en-us/community/posts/4415441200658-Renaming-Files-) or please see https://cloudinary.com/documentation/rename_assets to rename programmatically.

    Please let me know if you have any other questions or queries.

    Kind Regards,Thomas

  • Sovik
    Sovik Member Posts: 22

    I want to rename only transformed image not the original image.

  • Tom
    Tom Member, Cloudinary Staff Posts: 45

    Hi @Sovik ,

    Thanks for replying.

    It is not possible to just rename the transformed/derived version as it is tied to the original asset.

    Could you let me know what exactly you are trying to achieve?

    You could use the transformed URL to upload a new asset and give it a new name, this way the image is still a transformed version and it still has a new name.

    Please do not hesitate to ask me any other questions or queries.

    Thomas