Cloudflare Docs
Cloudflare Image Optimization
Visit Cloudflare Image Optimization on GitHub
Set theme to dark (⇧+D)

Enable Image Resizing

To use Image Resizing you first need to enable it via the Speed app on your Cloudflare dashboard:

  1. Log in to the Cloudflare dashboard and select your account.
  2. Go to Speed > Optimization.
  3. Under File Size Optimization, enable Image Resizing.
  4. If you do not want to resize images from any origin, uncheck Resize images from any origin. When unchecked, Image Resizing only resizes images in the enabled zone and prevents third-parties from resizing any image at any origin.

​​ Usage-based notifications

Since this is a service with usage-based billing, Cloudflare recommends that you set up usage-based billing notifications to avoid unexpected bills.

To set up those notifications:

  1. Log in to the Cloudflare dashboard.

  2. Select your account.

  3. Go to Notifications.

  4. On Alert Type of Usage Based Billing, click Select.

  5. Fill out the following information:

    • Name
    • Product
    • Notification limit (exact metric will vary based on product)
    • Notification email
  6. Select Save.