How to use [image.crop]

The reference page of image.crop has its arguments, constraints and declaration.

To crop an image you specify the following arguments.

  • [left] - Pixels to remove from the left parts of image
  • [top] - Pixels to remove from the top parts of image
  • [right] - Pixels to remove from the right parts of image
  • [bottom] - Pixels to remove from the bottom parts of image

Notice, left + right must be smaller than the total width of the image, and top + bottom must be smaller than the total height of the image. All arguments are optional, allowing you to only crop an image at one side, such as for instance illustrated below.

image.crop:/modules/test/qr.png
   right:50