Paulo Mello
CDCloudflare Developers
•Created by Paulo Mello on 2/27/2024 in #general-help
How to Serve Uploaded Cloudflare Images in Multiple Formats?
Just started using CF images recently, and am storing images uploaded via API. I would like to now post these to my Webflow site, within a CMS module, and have links for downloads as different file types. (.webp, .jpg, .png, .svg) I thought this was possible after reading https://developers.cloudflare.com/images/transform-images/transform-via-url/, but I still can't figure out how to do this with the URL cloudflare gives me (https://imagedelivery.net/<ACCOUNT_HASH>/<IMAGE_ID>/public) once I upload an image. How would I do this with my images in CF Images?
Also, is there any way to change the name of the variant from public to something more custom via API?
I appreciate any help as I am new to this. Thank you in advance!
2 replies