Generating Image Variants - Incorrect Docs?
This doc describes how to do it: https://developers.cloudflare.com/images/cloudflare-images/transform/resize-images/
However nowhere in that request is there the image ID that the variant is supposed to be based on.
The same issue is in https://developers.cloudflare.com/api/operations/cloudflare-images-variants-create-a-variant. There's no image ID passed to the API. Cloudflare would need this to create a variant. How should I send the image ID?
Resize images · Cloudflare Image Optimization docs
Resizing images in Cloudflare Images works by creating variants of your image. Variants let you specify how images should be resized for different use …
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
2 Replies