Cloudimage - Documentation

Introduction

Cloudimage will solve your challenges with image resizing, transformation, and acceleration in the Cloud.

Images slow down your website and mobile apps? Don't want to spend hours Photoshopping images for the web? Don't want to write complex image resizing automation scripts? Looking for Responsive Images As A Service? You've come to the right place.

We have documented the most common resizing functions here. Cloudimage supports many more, but we want to focus on what is really necessary for you to get started. If you have any request for undocumented features, contact us and we will help you out!

The basics

Everything starts with the basic URL format of a Cloudimage URL

//token.cloudimg.io/v7/original_image_url?operations&filters

tokenYour Cloudimage customer token. Subscribe for a free trial to get one. You can also ask us for a custom token.
original_image_urlThat's an easy one :)
operationsImage manipulation operations like width, height, crop, fit, rotate, trim. For a full list, see Image resizing.
filtersUse filters like contrast, pixellate, blur, greyscale and sharpen to apply different effects on your image. For a full list, see Image filters.

Cloudimage's resizing servers, located in three data centres worldwide (Canada, France, and Singapore) will download your original image from origin_image_url, transform it based on the operation and filter parameters, and finally, display it on your website or mobile app through a rocket fast CDN.

An example with an original image hosted on your web server, Amazon S3 bucket, or any other storage accessible over HTTP.

If you host your images on a Web Server, Image Repository, or Storage Bucket sitting behind a Firewall, make sure your images are accessible over HTTP or HTTPS. Otherwise, Cloudimage servers will not be able to download the originals.

The process

Cloudimage works on a pull basis, meaning that upon first load of an image via a Cloudimage URL, the image is downloaded by the Cloudimage resizing infrastructure, optimised and cached in the CDN.

Examples

Please refer to the full list of options here: resizing operations, image filters, watermarking.

CDN acceleration

All resized and filtered images are delivered by default to your end users over multiple (Content Delivery Networks) through 1400+ PoPs (Points of Presence). This enables fast delivery and absorbs load during high traffic peaks.

We work with multiple CDN providers and can help with selecting the best one for your use case. Contact us for discussing your needs.

Static content delivery

You can also use our CDN to deliver static content like JS or CSS files with the func=proxy option. For more details, you can refer to the Content / Acceleration section.