3 ms·
What API do you use to resize images? Cloudflare? I know Vercel and NextJS have an <Image> resizing/optimization component that gets pricy.
by winterrx 2y ago
What API do you use to resize images? Cloudflare? I know Vercel and NextJS have an <Image> resizing/optimization component that gets pricy.
- steelbrain 2y agoYes, Cloudflare through the `loader` prop in `Image` component. See CF docs for what the url should be https://developers.cloudflare.com/images/transform-images/transform-via-url/ https://developers.cloudflare.com/images/transform-images/tr... Next.js docs should tell you how to write the loader