Skip to content
WP Cloud
WP Cloud
    • For Hosts
    • For Agencies
    • For Registrars
    • For Native Hosting
    • Performance
    • Security
    • Real-Time Automated Failover
    • Vertical Scaling and Bursting
    • WordPress Management
    • PanelAlpha Integration: White-Label WordPress Control Panel for Hosts
    • EasyEngine Panel Integration: Visual WordPress Management for WP Cloud
    • FAQs
    • WP Cloud API
    • Partner Portal
    • Documentation
    • New Partner Guide
    • Pressable
    • Convesio
    • Porkbun
    • PanelAlpha
    • Ivapix
    • UNC Greensboro
    • Impressive Hosting
    • Blog
    • Performance Benchmarks
  • Connect With Us
  • Login ↗
Start Here ↗
  • Solutions

    • For Hosts
    • For Agencies
    • For Registrars
    • For Native Hosting
    • Featured Partners

    Features

    • Performance
    • Security
    • Real-Time Automated Failover
    • Vertical Scaling and Bursting
    • WordPress Management

    Integrations

    • PanelAlpha Integration
    • Easy Engine Panel Integration

    Resources

    • FAQs
    • WP Cloud API
    • Partner Portal
    • Documentation
    • New Partner Guide
  • Case Studies
    • PressableA case study about how WP Cloud supports Pressable to power millions of page views daily.
    • Convesio
    • Porkbun
    • PanelAlpha
    • Ivapix
    • UNC Greensboro
    • Newspack
    • Inverse Paradox
  • Insights
    • Podcast
    • BlogWP Cloud blog page with latest news and updates about the platform.
    • Performance Benchmarks
  • Connect With Us
  • Login ↗
Start Here ↗

Browse

    • WP Cloud platform overview
    • Onboard and launch with WP Cloud
    • WP Cloud Partner Portal
    • Get support from WP Cloud
    • WP Cloud glossary
    • Manage and secure API keys
    • Client SSH
    • WP Cloud API quick start
    • Webhooks
    • Run bulk tasks across sites
      • Manage site domains and aliases
      • Domain verification records
      • TLS certificates
      • Manage custom TLS certificates
      • Cloudflare and WP Cloud
    • Clone a site
    • Configure resources, site type, and billing with site meta
    • Delete a site
    • Persistent data
    • Staging sites
    • Migrate a site to WP Cloud
      • SSH and SFTP access models
      • Client SSH
      • User SSH and SFTP access
      • Database credentials
      • phpMyAdmin
      • ABSPATH
      • Default wp-config.php
      • Site constants
      • Configure redirects and headers with custom-redirects.php
      • Akismet and Jetpack
      • Blocked and unsupported plugins
      • PHP lifecycle and supported versions
      • Symlinks and managed software
      • WordPress versions
      • Install Composer and WP-CLI packages
      • Manage platform software with WP-CLI
      • Useful WP-CLI commands
    • Transactional email
    • WordPress multisite
    • Cron scheduling
    • Decoupled and headless WordPress
    • Repair Yoast indexables
      • Page Cache
      • Edge Cache
      • Object Cache
      • Image transformation
      • Offload image sub-sizes
    • Configure lightweight 404s for static files
      • DDoS protection
      • Defensive Mode
      • Rate limiting
      • Network and web application firewalls
      • Bot protection
      • Password protection
      • HTTP and security headers
      • PHP filesystem access permissions
      • Scan a site for malware
    • Backups overview
    • Create an on-demand backup
    • Restore a backup
    • Jetpack backups
      • Error logs
      • Web server logs
    • Metrics
    • Application performance monitoring
    • Automated failover
    • IP ranges
    • Origin and edge servers
    • Server specifications and settings
    • EasyEngine integration
    • PanelAlpha integration
      • White labelling and co-marketing WP Cloud
      • WP Cloud logos
      • Terms of Service & Compliance
      • Prohibited content
      • Copyright infringement and takedown notifications
    • WP Cloud billing
    • WP Cloud for agencies and site networks
    • WP Cloud partner support options
    • Troubleshoot Page and Edge Cache
    • Troubleshoot HTTP 429 and 599 errors
    • WP Cloud HTTP status codes
    • Troubleshoot site performance
    • Cache slow database queries
    • Troubleshoot duplicate core files, wp-config.php, and wp-admin 403 errors
    • Troubleshoot email delivery
    • Troubleshoot PDF thumbnail generation
    • Troubleshoot TLS certificate provisioning
Documentation/Performance/Image optimization/Image transformation

Image transformation

LAST UPDATED

3 months ago

    WP Cloud can resize, crop, and transform uploaded images when they are requested. The transformed response is served and cached through WP Cloud’s Edge Cache, so the site does not need to store a separate file for every variation.

    The feature is enabled by default for public WP Cloud sites and does not require Jetpack. It applies to images under wp-content/uploads/.

    Use transformation parameters

    Append supported Site Accelerator parameters to an uploaded image URL. Common examples include:

    • ?x=200 resizes the image to an exact width of 200 pixels.
    • ?fit=300,300 fits the image within a 300-by-300-pixel box while preserving its aspect ratio.
    • ?resize=400,220 resizes and crops the image to exactly 400 by 220 pixels.

    Multiple parameters can be combined on one URL. See the Site Accelerator API documentation for the complete parameter reference.

    Transformation parameters work only with image files in the site’s uploads directory. A site using the wp_uploads privacy model cannot use them because the transformed asset would otherwise bypass the site’s logged-in access requirement.

    Reduce image download size

    Serve images at dimensions appropriate for their display area and the end user’s device. Smaller image responses load faster and require less bandwidth. For example, resizing a 28 MB original can produce a 200 KB response that downloads in about 100 milliseconds instead of approximately 20 seconds, depending on the connection.

    Do not serve a 5000-by-3000-pixel image when the page displays it in a 500-by-300-pixel area. Add transformation parameters that produce a suitable display size instead.

    Native mobile applications should apply the same principle. When an API response contains the original image URL, add the required transformation parameters in the application so the end user downloads an appropriately sized image rather than the full original.

    Jetpack Site Accelerator

    Jetpack’s Site Accelerator image and static-file features are not required on WP Cloud. WP Cloud provides its own image transformation and Edge Cache from the site’s domain. Enabling Jetpack Site Accelerator instead loads those assets from *.wp.com, adding an external request path.

    This means a theme or plugin can request a suitable image size without first writing that exact transformed copy into the site’s uploads directory.

    Previous Object Cache
    Next Offload image sub-sizes

    Related Guides

    • Offload image sub-sizes

      Reduce stored WordPress image subsizes and serve requested intermediate images from the original upload.

      3 Min.

      READ

    On this page

      Contact support

      Contact us with Support issues and questions related to WP Cloud, the WP Cloud Atomic API, API-key IP allow list changes, Station, and more.

      Check the FAQs

      Have questions? Please visit our FAQ to learn more.

      An Automattic venture

      Work With Us

      Press

      Privacy Policy

      © 2021-2026 Automattic Inc.

      Notifications