Cloudimage - Documentation

Accounts created before Nov. 1st, 2021

Accounts created before November 1, 2021 have to include /v7/ in the path, like shown below.

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

Accounts created on or after November 1, 2021 do not require /v7/ and documentation have been updated accordingly.
To verify the type of configuration on your Cloudimage account, log in to your Cloudimage admin panel and look at the syntax provided on the Welcome page.

[NOTE] If you are an existing Cloudimage customer and wish to be able to remove the v7 from your URL syntax, please contact our support.

Static Content

Cloudimage offers you the option to deliver other files - static content like JS or CSS files, via our Content Delivery Network.

Static file delivery

func=proxy

By default, all urls are regarded as images. To deliver a non-image file, you have to use the func=proxy option:

/sample.li/bootstrap.css?func=proxy

Cloudimage can automatically use the proxy function for all files which don't have an image file extension. This however will require all your images to have proper file extensions. If you prefer this behaviour, you can switch it on in your Admin Console (Image Settings / Compression / Enable static Content acceleration).

CSS and JS optimisation

process=minify-css
process=minify-js

Cloudimage supports on-the-fly optimisation of CSS and JS content to further facilitate faster loading of the site:

/sample.li/bootstrap.css?func=proxy&process=minify-css

/sample.li/jquery.js?func=proxy&process=minify-js

PDF files

Adobe PDF documents are always converted to images. If you wish to deliver PDF files as such, you have to always use func=proxy.

/sample.li/satie2.pdf?func=proxy

PDF-to-image

When you provide a link to a PDF file, the first page is converted to an image and delivered via CDN. You can use all available resizing operations, image filters, watermarking capabilities and image compression formats. To convert a specific page of the PDF document, use the doc_page=X option: