Image URL
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:
Assume the image link is
https://example.com/logo.png
Assume your CDN link is
https://john.imagemash.io
The correct link will be;
https://john.imagemash.io/https://example.com/logo.png
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 Restriction List to set boundaries. You can edit your list in your dashboard.
Image URL Restriction List
You can edit your list in your dashboard. 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.
Last updated