WP Cloud’s Content Delivery Network (CDN) was built to deliver images and static files fast. As of August 12th, we now support Site Accelerator API parameters as part of image URLs, allowing sites hosted on WP Cloud to make use of WordPress.com’s Site Accelerator service to crop, resize, filter and modify image assets without creating copies on the site’s file system and using up valuable storage space.
Site Accelerator documentation provides a complete breakdown of available options, including modifying an image’s size:
?x=200Resize the image to the exact with in pixel dimension.?fit=300,300Fit an image to a containing box of width, height dimensions maintaining the image aspect ratio.?resize=400,220Resize and crop an image to the exact width, height pixel dimensions.
This feature is enabled by default for all public sites on WP Cloud for image assets within the wp-content/uploads/ path, but is only active if image URLs include these new parameters. If a site is configured to use the wp_uploads privacy model where only logged-in users can access static assets, the Site Accelerator API is disabled to ensure that these assets remain private.
If you have any feedback or questions, please reach out through our usual support channels.