Pattern Syntax: ImageCache
Last updated on
30 April 2025
Valid properties for "imagecache_preset" action
- presetname (not unique)
- name - alias for presetname (recommended)
- presetid
- id - alias for presetid (recommended)
In order to rename existing preset, presetid needs to be provided along with the new name.
Valid properties for "imagecache_action" action
Common properties
- actionid
- id - alias for actionid
- preset - presetname
- presetid
- action - action name
- name - alias for action
- weight
Although it is technically allowed to create multiple presets with the same name, it is safe to assume that the names will always be unique. With this assumption in mind, you can always provide preset name as unique preset identifier.
Action specific properties
-
imagecache_crop:
- width
- height
- xoffset
- yoffset
-
imagecache_scale_and_crop:
- width
- height
-
imagecache_resize:
- width
- height
- imagecache_desaturate: none
-
imagecache_rotate:
- degrees
- random
- bgcolor
-
imagecache_scale:
- width
- height
- upscale
-
imagecache_sharpen:
- radius
- sigma
- amount
- threshold
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion