Introduction (2)

Last updated Apr 21, 2026 Cloudflare provides a platform for building and scaling media applications with Images. On this page, we'll answer the following questions:

  • Why optimize images?
  • How do I get started with Images?
  • Should I store with Images or R2?

Why optimize images?

Loading images in their original resolution and format quickly becomes a bottleneck for app performance — especially on mobile.

Meanwhile, creating and storing multiple versions of the same image adds complexity and overhead, along with storage costs.

When you serve large amounts of media, image optimization provides:

  • Streamlined infrastructure — Simplify your workflow and reduce infrastructure costs by dynamically generating optimized versions on request.
  • Smaller file sizes — Automatically deliver images in modern formats like AVIF and WebP, which improves page speed and lowers bandwidth.
  • Responsive sizing — Crop and resize for any use case, from square thumbnails to landscape banners, using the same original image in storage.
  • Visual effects — Apply blur, overlays, background fills, and more at the edge.

How do I get started with Images?

There are two ways to use Images, depending on where your images are stored:

Optimize remote images

Keep your images on your own origin, in R2, or with any storage provider. Cloudflare pulls the original image, applies optimizations at the edge, and caches the optimized image.

You can define an origin allowlist to control which source images can be transformed on your zone.

To start, enable transformations on your zone.

Upload and deliver with Images

Store, optimize, and deliver images globally with zero infrastructure management.

If your app centers around user-uploaded content, then you can use the Direct Creator Upload API to securely accept images directly from your users.

To start, set up predefined variants to configure how hosted images should be served.

Should I store with Images or R2?

Store in R2 and use Images for transformations if you want to build your own custom image pipeline or need fine-grained control over storage, such as bucket-level access management or object lifecycle rules. This is typically the most cost-effective approach for image optimization.

Store in Images if you want a fully managed solution with the least configuration. Our built-in features include a shared delivery domain, predefined variants, and automatic cache invalidation when you update original images in storage.

Each use case has a separate pricing model. To learn more, refer to Pricing.

Was this helpful?

YesNo

On this page

Introduction (2) - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/images/get-started/introduction/#page","headline":"Introduction","description":"Cloudflare Images provides a platform for optimizing, storing, and serving images at scale.","url":"https://developers.cloudflare.com/images/get-started/introduction/","inLanguage":"en","image":"https://developers.cloudflare.com/images/get-started/introduction/og.png?v=971d82530a2f932c","dateModified":"2026-04-21","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Definitions of core Cloudflare Images terms including transformations, variants, hosted images, and origins. title: Key concepts image: https://developers.cloudflare.com/images/get-started/key-concepts/og.png?v=2a0ac976eebadf94


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/images/llms.txt
Use this file to discover all available pages before exploring further.