Domain whitelisting

As a reminder, a Cloudimage URL looks like:

//token.cloudimg.io/operation/size/filter/original_image_url

By default, images from any origin domains can be resized by Cloudimage and the storage and traffic consumption generated by the images will count toward your plan's allowance. In the Cloudimage admin console, you can restrict the list of origin URLs that your token can transform images from.

Step 1 - configures domain whitelist in the Cloudimage admin console

Log in to your Cloudimage admin console and navigate to Settings / scroll down to Whitelisted domains: Configure your original image domains / S3 buckets.

Step 2 - Try it out!

This Cloudimage URL works:

//demo.cloudimg.io/width/500/none/sample.li/boat.jpg

This one does not:

//demo.cloudimg.io/width/400/none/pbs.twimg.com/profile_images/839721704163155970/LI_TRk1z_400x400.jpg