Cloudlfare Images API query

Hi, I've been looking at CF Images in order to decide whether it'll be right for a new project. Two questions I have: How do I access the EXIF metadata of an image via the API? How can I upload an image via the dashboard and specify a custom bit of data, such as an ID of an Album or Folder, that I can then use in my app? Thanks
1 Reply
Chaika
Chaika3mo ago
Cloudflare has some api docs here: https://developers.cloudflare.com/api/operations/cloudflare-images-upload-an-image-via-url
How do I access the EXIF metadata of an image via the API?
I don't believe any API exposes that. Would probably have to parse it out and host it alongside the image
How can I upload an image via the dashboard and specify a custom bit of data, such as an ID of an Album or Folder, that I can then use in my app?
With the API for uploading: https://developers.cloudflare.com/api/operations/cloudflare-images-upload-an-image-via-url you can specify custom metadata with the upload and then it's included in the list down: https://developers.cloudflare.com/api/operations/cloudflare-images-list-images-v2
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
Want results from more Discord servers?
Add your server