Tips and best practices for applying Rules in Cloudimage and Filerobot

The Rules are powerful ways to hide watermarks and invisibly apply image resizing or filtering parameters in the image URLs.

You can configure them:

- in the Cloudimage Admin Panel-> page Image Settings -> tab Rules:


- in the Filerobot Asset Hub -> settings -> page Process -> tab Rules:

The Rules configuration has some specifics that are good to be mentioned:

  • Rules work on the principle of simple string matching. They are not Regexes, and the Regex syntax and special characters are currently non-applicable to them.
  • The Rules function receives the image URL in a format starting after the "/v7/"-part.
    If the image URL is,
    then the function receives it as "__alias__/image.jpg"
  • A rule matching the keyword "__alias__" will work, but another rule like "/__alias__" will fail because the slash symbol ("/") in its beginning won't be matched.
    Due to the same technical specifics, please do not assign rules that to match your token, CNAME or keywords like "cloudimg", and "v7".
  • Please avoid overlapping the rules. Creating two rules that match "_img" and "__img__" might lead to unexpected results.
  • When the image URL contains an alias, the rule should be created to match that alias but not its corresponding value.
    If the image URL is 
    and __alias__ stays for 
    then the rule should be set up to match "__alias__" (not )
  • The Rules can include Presets
  • You can check this article to learn a handy way to hide your watermarks so they are invisible in image URLs.

If you have any questions or issues, please feel free to contact our Software Engineer and mention the following details:

  • Token
  • Short description of the issue (including URLs, screenshots, short video if available)
  • Steps to reproduce the issue.
Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.