How to specify the image name?

Hi,

In the Images Dashboard I can see the table with the uploaded images and the first column title says “Name”, but it’s actually the path/URL of the source origin.

I’m wondering if there’s a parameter in the API request to specify the image name. I didn’t see it in the documentation: https://developers.cloudflare.com/images/cloudflare-images/upload-images/direct-creator-upload

Thank you,

There isn’t really a naming system. You could put the name in metadata when the image is first uploaded but images are generated and accessed with a random ID.

I’m pretty sure that’s all that’s stored with the upload, and that’s it for naming. Though, as Walshy pointed out, you can add metadata.

https://api.cloudflare.com/#cloudflare-images-upload-an-image-using-a-single-http-request

Thank you Walshy and sdayman, just wanted to be sure that I didn’t miss it. We’ll have to manage it on our side anyways. Thanks for the fast response!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.