ez.no / ezpublish / documentation / reference / template operators / images
These documentation pages are no longer maintained. Please visit the new documentation site.
The image operators require an external image system. This means that either ImageMagick or ImageGD has to be installed and available for eZ publish to use. For more information about these systems please refer to the "Requirements for doing a normal installation" section.
The main concept is this: The "imagefile" and the "texttoimage" operators can be used to generate images. The "imagefile" operator simply loads an image from the filesystem. The "texttoimage" operator creates an image of some text using a truetype font. Both of these operators return an image layer. The layers generated by these two operators can be merged in various ways using the "image" operator, which returns an image object.
The table presented below contains a list of template operators related to images and image handling. Click on the name of an operator for more information about that specific operator (usage, parameters, description, examplets, etc.).
| Operator | Description |
|---|---|
| image | Creates and returns an image object. |
| imagefile | Loads an image from a file. |
| texttoimage | Renders a string as an image using a truetype font. |
Comments