Images 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 thumbnaillarge, 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 vip-config/vip-config.php file:

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.

For example:
https://ryanmarkel.com/wp-content/uploads/2011/07/cropped-5920665766_6c3e7258ac_o1.jpg?w=800&crop=100px,350px,450px,400px&resize=200,200&filter=sepia

VIP Go’s transformations are the same as Photon’s, and you can find documentation on the arguments here.

Remarks

  • VIP Go images serves files relative to the home_url of the site, so images will be on the same domain as your site. This is unlike Photon, that serves through a subdomain of wp.com (such as i1.wp.com).
  • 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 (file_exists(), filesize()).
  • 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.

Ready to get started?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.