Main layer options

Layer (l or layer)

Begins a new layer definition. The parameter value is number; however, the value is ignored for practical purposes.

For example: These options are equivalent:

  • l&src=image

  • layer&src=image

  • l=1&src=image

  • layer=1&src=image

Source (src)

Provides a source image reference for an image-based layer (as opposed to, for example, a text layer).

Image source

The parameter name shall be the name of the image stored in the client’s image storage area.

For example: src=image

Box

The parameter name shall be a box definition as described in https://drivecommerce.atlassian.net/wiki/spaces/DOCCUSTO/pages/1675427869/Image+sources#Boxes chapter.

The box parameter should be in one of the following formats:

  • BOX<width>X<height>C<rrggbbaa>

  • BOX<width>X<height>C<rrggbbaa>B<width2>X<height2>X<x>X<y>C<rrggbbaa2>

For example: src=BOX100X200C00FF00FF

Group

An image source can reference a previously defined group. The source parameter value should be a string g! followed by a group name.

For example: src=g!GroupName