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:

/v7/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, please contact us to activate it for your token.

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:

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

/v7/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.

/v7/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: