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.

Prestashop Module

The Cloudimage Prestashop Module will automatically adapt the image URLs in your Prestashop Theme to deliver your images rocket fast over the Cloudimage multi-CDN infrastructure. You only need to register with Cloudimage and install the plugin in your Prestashop Admin.

Installation

Step 1 - Create an account if you have not registered already.

You can create an account on the Cloudimage registration page.

Photo alt \#responsive

Step 2: Download and Unzip Module

  • Unzip and copy the module to the /modules folder.

Step 3:

  • In Admin go to Modules/Module Catalog search for "Clouldimage by Scaleflex"
  • Click "Install"
  • Go to Modules/Module Manager -> Other Section -> Click on Configure on "Cloudimage by Scaleflex"

Photo alt \#responsive

  • Update configuration and activate the Module, then your site is ready to go. (Please clear the Cache)

Photo alt \#responsive

Configuration

  • Activation: Enable/Disable the module
  • Cloudimage API Key: Your Cloudimage Token
  • Use origin URL: If enabled, the module will only add query parameters to the image source URL without prefixing it with {token}.cloudimg.io.
  • Lazy Load: If enabled, only images close to the current viewpoint will be loaded.
  • Ignore SVG Size: If enabled, the module will ignore the image size node in the SVG file.
  • Prevent Image Resize: If you set Maximum "Pixel ratio" equal to 2, but some of your assets does not have min retina size(at least 2560x960), please enable this to prevent image resized. By default, yes.
  • Image Quality: The smaller the value, the more your image will be compressed. Careful — the quality of the image will decrease as well. By default, 90.
  • Maximum Pixel Ratio: The maximum pixel ratio of the image. By default, 2.
  • Remove V7: If enabled, the module will remove the "/v7" part in URL format. Activate for token created after October 20th 2021.

Advanced User

  • Custom JS Function: The valid js function starting with { and finishing with }
  • Custom Library Options: Modifies the library URL and must begin with the symbol &. Please read document before use.

Please note: if you are using an earlier version of Prestashop (v1.6+) and / or this plugins is not compatible with some of your add-ons, it is always possible to make a manual integration of the Cloudimage acceleration, following the tutorial procedure.