How do I go about having a site/domain that is hosted externally(Vercel) use image resizing? It seems like to get started it wants me to register a site or domain but I am looking to use image resizing without changing my domain ownership.
Cloudflare doesn’t host most of the images that use Image Resizing. You would host your DNS here, point it to Vercel, then use that proxied hostname to resize the Vercel images.
So I do need to change the DNS setup? Seems odd that I need to change DNS setup for my core domain website. Do I go about that by creating a new “app” for my existing app?
You’ll just be substituting in Cloudflare DNS for your existing DNS. Instructions for onboarding are here:
Will there be any cost to any of that above and beyond the image resizing costs?
No other costs. You can use it on a Free plan, as described here:
https://developers.cloudflare.com/images/pricing/#images-light
Thanks, one last question. When the pricing says “$0.50 per 1K unique transformations per month” I assume a unique transformation that is every unique size that is requested? If I have 10,000 images and on average there are 4 different sizes they are displayed that is 40,000 transformations?
If I’m reading it right, it would be per unique URL per month. These would be three different transformations:
example.com/cdn-cgi/image/width=300/https://source.tld/image1.jpg
example.com/cdn-cgi/image/width=600/https://source.tld/image1.jpg
example.com/cdn-cgi/image/width=600/https://source.tld/image2.jpg
If I have 10,000 images and on average there are 4 different sizes they are displayed that is 40,000 transformations?
Only if all 40,000 variations are requested that month.
Ok, that seriously reduces the value relative to Vercel where they charge per src image not transformation. Gotta do some math!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.