LogoLogo
BlogHelp CenterPrivacyLoginRegister
  • Let's optimize your images
  • Transformations
    • Input formats
    • Image operations
      • Width and height
      • Prevent enlargement
      • Crop
        • Automatic gravity crop
        • Positionable crop
        • Focal point crop
        • Face crop
        • Face hide
        • Aspect ratio crop
      • Fit
      • Cropfit
      • Bound
      • Boundmin
      • Cover
      • Device pixel ratio
      • Flip
      • Rotate
      • Trim
      • Rounded corners
      • Background removal
    • Image filters
      • Adjustment
        • Brightness
        • Contrast
        • Saturate
      • Color manipulation
        • Color overlay
        • Grayscale
        • Duotone
        • Sepia
        • Invert
      • Blur
      • Pixelate
      • Sharpen
      • Face blur
    • Image watermarking
      • Static watermark
      • Dynamic watermark
      • Text watermark
        • Text watermark fonts
    • Image compression
      • Image formats
      • Optipress
      • SVG compression
      • Color management
    • Static content
      • PDF to image
      • JS/CSS optimization
    • Video operations
  • Setup
    • Shortening URLs
      • Origin URL prefix
      • Aliases
      • Presets
      • Rules
    • Connecting storage bucket
      • Amazon S3
      • Google Cloud Storage
      • Microsoft Azure Blob
      • Basic authentication HTTP
    • Security
      • Token security
        • Domain whitelisting
        • URL signature
        • URL sealing
      • Account security
      • Origin security
  • Implementation
    • URL API implementation
    • Responsive images JS plugin
    • CMS plugins
      • Spryker
      • Drupal
      • Kontent.ai
      • Contentful
      • Adobe Commerce (Magento)
        • Basic implementation
        • Advanced implementation
      • Opencart
      • Prestashop
        • Prestashop tutorial
      • Shopware
      • Sylius
      • Wordpress
      • Shopify tutorial
        • Shopify integration
        • Theme files
        • FAQ
      • Commercetools tutorial
      • Ruby wrapper
    • Migrating from another image CDN
  • Caching and acceleration
    • CDN basics
    • Caching interval
    • Invalidation API
    • Warmup API
  • Analytics
    • Dashboards
      • Overview
      • Volumetry
      • Optimization
      • Delivery
      • Top-Ranking
      • RUM
      • Logs API
  • Cloudimage_v6 EOL
Powered by GitBook
LogoLogo

Resources

  • Help center
  • Contact support
  • Developers
  • cloudimage.io

Solutions

  • Media optimization
  • DAM
  • Performance report

Company

  • Blog
  • Service status
  • About us

Legal stuff

  • Terms & conditions
  • Privacy center
  • DMCA

Copyright © 2023 Scaleflex

On this page
  • Case 1: not using a custom CNAME
  • Example 1
  • Example 2
  • Case 2: using a custom CNAME
  • Example 1
  • Example 2

Was this helpful?

Export as PDF
  1. Implementation

Migrating from another image CDN

Migrating from another Image CDN

PreviousRuby wrapperNextCDN basics

Last updated 8 months ago

Was this helpful?

If your are transferring your image optimisation and CDN service from another provider, Cloudimage provides an easy way to migrate your images without code changes.

By migrating to Cloudimage, your images will need to be downloaded from their origin and cached by Cloudimage. Make sure your origin is able to process the initial load or to perform a warm-up.

Case 1: not using a custom CNAME

Example 1

If your image is currently delivered via:

<img src="https://yourdomain.provider.com/{image_url_or_path}?operations&filters" />

Then you need to replace the FQDN from yourdomain.provider.com to token.cloudimg.io/ for the <img src> to become:

<img src="https://token.cloudimg.io/{image_url_or_path}?operations&filters" />

Example 2

<src="http://img.provider.com/{token}/{operations}|{filters}/{path_fo_folder}/flat.jpg" />

Then you need to adapt it to be:

<src="https://token.cloudimg.io/v7m/{operations}|{filters}/{path_fo_folder}/flat.jpg" />

Where:

  • token: your Cloudimage token you obtain after registering for a Cloudimage account

  • operations: the resizing operation(s) as listed under Image operations

  • filters: the filter transformation(s) as listed under Image filters

Case 2: using a custom CNAME

Example 1

If your image is currently delivered via:

<img src="https://img.domain.com/{image_url_or_path}?operations&filters" />

Example 2

If your image is currently delivered via:

<src="http://img.domain.com/{token}/{operations}|{filters}/{path_fo_folder}/flat.jpg" />

In both scenarios, migrating to Cloudimage only requires the change of your CNAME record for img.domain.com on your DNS provider.

Where:

  • token: your Cloudimage token you obtain after registering for a Cloudimage account

  • operations: the resizing operation(s) as listed under Image operations

  • filters: the filter transformation(s) as listed under Image filters

If your image is currently available at and referenced in your code as:

Cloudimage supports multiple image transformations format, to discuss your migration project.

http://token.provider/operations/sample.li/flat.jpg
contact us
contact us