VIP Go platform specific
This document is for sites running on VIP Go.
VIP Go uses a service similar to Photon or WordPress.com images, so the core image processing is the same, and they all use (roughly) the same filters.
Intermediate images #
Intermediate images are not stored on the file system, only the full size version is retained. In fact, the VIP Go Files Service can generate images custom sizes on the fly. In other words, when uploading an image, no
medium or other similar versions are generated.
This has the benefit of allowing a change to the application (e.g. a theme change) to completely change what crops, resizing, effects, etc are applied to the source images without having to process all source images to produce these intermediate images in advance. It all happens just in time as requests come in, are processed, and then cached on the VIP Go edge.
In order for the Service to work, constant
WPCOM_VIP_USE_JETPACK_PHOTON must be set to
true. The best way to achieve this is to add the following line in your
define( 'WPCOM_VIP_USE_JETPACK_PHOTON', true );
Upload File Size #
The default maximum upload size for media files on VIP Go is
1GB. We can upload a file size of up to
2GB for specific use cases; if that’s something your team needs, please get in touch with your requirements and we’d be happy to help.
Image Manipulation and Transformation #
VIP Go has the ability to handle image resizing, cropping, process successive transformation functions as Photon does. For example, you are now able to perform a crop followed by a resize function with a filter tacked on the end, as well as many other combinations.
VIP Go’s transformations are the same as Photon’s, and you can find documentation on the arguments here.
Note: transformation functions only operate on files in the
- VIP Go images serves files relative to the
home_urlof the site, so images will be on the same domain as your site. This is unlike Photon, that serves through a subdomain of
- VIP Go always has access to all images, so the cache can be updated without a request being made, which is unlike Photon.
- Images do not live on the local file system, they are in a cloud distributed one. PHP functions that rely on local files will fail (
- VIP Go images can support HTTPS images.
- If possible, we advise not to provide intermediate images when exporting content for a migration. This can make the export much smaller (up to 95% of the size can be saved), and the import proportionally quicker.