Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Sizes

Summary

Sets override and new sizes.

Usage

Sizes[<identifier>]=<width>x<height>ORSizes[<identifier>]=<width>x<height>;<subpath>

Description

This setting allows you to override default sizes or add new sizes.  It is important to make sure that all used themes have the sizes listed here defined.The following syntax is used (with or without the subpath):

Sizes[<identifier>]=<width>x<height>;<subpath>

Each size refers to the name of the subdirectory of the icon theme. The value are two numbers, the width and height of the icon in number of pixels, with an "x" in between. It is possible, but not necessary to add a subpath after the width and height.  This subpath will be used for fetching the icon.

This setting is commented out by default by adding a "#".

This setting is case sensitive.

Examples

Example 1

Sizes[normal]=32x32

For the icon type "normal" the icon size is defined at a width of 32 pixels and a height of 32 pixels.  This setting will override the default icon size for the "normal" icons.Example 2

Sizes[normal]=32x32;normal-icons

For the icon type "normal" the icon size is defined at a width of 32 pixels and a height of 32 pixels.  The subpath "normal-icons" will be used for fetching these icons.  This setting will override the default icon size for the "normal" icons.

Geir Arne Waaler (08/10/2010 8:56 am)

Geir Arne Waaler (08/10/2010 8:56 am)


Comments

There are no comments.