Docs | imagemash.io
DashboardSign up for Free
  • 🎉imagemash.io
  • 🚀Getting Started
    • Simple CDN Link Usage
  • 💽Sources
    • IM Cloud Storage
    • Image URL
    • Storage Providers
      • Amazon S3
      • Google Cloud
      • S3 Compatible Storage
    • Web Folder
  • 🖼️Image Transform
    • Transform Options
      • Quality
      • Width
      • Height
      • Scale
      • Crop
      • Gravity
      • Background
      • Border
      • Round
      • Output Format
      • Angle (Rotate)
      • Flip
      • Helpers
        • x, y
      • Filters
        • Tint
        • Flatten
        • Grayscale
        • Blur
        • Sharpen
        • Median
        • Threshold
        • Negative
    • Transform Cheat Sheet
    • Named Transforms
  • 🛠️API
    • API - Good to knows
    • API Methods
      • Account
        • Named Transforms
          • Get named transforms
          • Add named transform
          • Remove named transform
        • Image URL Restriction
          • Get keyword list
          • Add keyword to list
          • Remove keyword from list
          • Change keyword list usage
      • Storage
        • Upload file
        • Get and search files
        • Delete files
        • Add new tags to files
        • Set tags of files
        • Remove tags from files
        • Purge Cache
      • Optimize / Transform
  • ❓How it works?
    • Custom Domain
    • Bandwidth
    • Cloud Storage
    • Caching
    • Purge Cache
    • Limits
  • Contact Us
Powered by GitBook
On this page
  • Syntax
  • Image URL Restriction List
  1. Sources

Image URL

PreviousIM Cloud StorageNextStorage Providers

Last updated 2 years ago

You can use direct image links as a source.

Syntax

  • <your cdn link>/<image link> , for access without transforms

  • <your cdn link>/<transforms>/<image link> , for access with transforms

Example:

  1. Assume the image link is https://example.com/logo.png

  2. Assume your CDN link is https://john.imagemash.io

  3. The correct link will be; https://john.imagemash.io/https://example.com/logo.png

  4. With transforms; https://john.imagemash.io/w_300,h_300/https://example.com/logo.png

Do not forget to put http:// or https:// before the image URL. Otherwise, our servers can not be able to tell if it is an image link or a folder.

By enabling Image URL you expose your CDN Link to process every link, which may result in abuse of your CDN Link. Use a to set boundaries. You can edit your list in your dashboard.

Image URL Restriction List

You can edit your list in your . You can switch modes of your list to either use it as a whitelist or blacklist.

  • As Whitelist If the image URL includes a string in your list, then it is allowed for transformation. All others will be blocked.

  • As Blacklist If the image URL includes a string in your list, then it is blocked for transformation. All others will be blocked.

Your input will act like a search string. If the Image URL contains any of the records in your list, then action will be taken.

💽
Restriction List
dashboard