Configuring a Trigger to Create an Image Variety
This example will configure a Trigger to create an Image Variety when an Image asset is created. This can be useful if, for example, you have a section of your Site requiring images be of a certain size. Instead of manually creating an Image Variety for each Image asset created, this Trigger will automatically create these Varieties. For more information on Image Varieties, refer to the Image chapter in the Core Assets manual.
To configure this Trigger, follow the steps outlined below.
- Create a new Trigger asset.
- Enter a Name and Description for the Trigger, as shown in the figure below.

The Details section of the Trigger - In the Events section, select the Asset Created Trigger Event.
- In the Conditions section, select the Asset is of type Trigger Condition and click Commit. Additional fields will appear in the Conditions section, as shown in the figure below.
In the Match any one of these Types field, select Image.
The Asset is of Type Trigger Condition - In the Actions section, select the Create Image Variety Trigger Action and click Commit. Additional fields will appear in the Actions section, as shown in the figure below.
Enter a Name for the Image Varieties that will be created and enter the Width and/or Height of these Varieties. Select the Ignore Permissions field to allow Squiz Matrix to ignore the access rights of the user/s firing this trigger when performing this Trigger Action.
The Create Image Variety Trigger Action - When you are satisfied with the settings of this Trigger, change its Status to Enabled and click Commit.
When an Image is created in the system, an Image Variety will now be automatically created, in accordance with the settings of the Create Image Variety Trigger Action.