OpenWGA 7.6 - WebTML reference

WebTML tags » image

<tml:image maxwidth ="pixel">

Purpose:

Scales the displayed image down to the given maximum width

Description:

Using this attribute will instruct the OpenWGA server to scale the image file down to the given maximum width in pixels while preserving the x/y ratio.

The scaling is actually done to the image before it is sent to the browser so it effectively reduces the number of bytes going over the network. However this trades network traffic for server performance as the process of scaling might be exhaustive for large images.

No display size information will be added to the HTML image tag itself. It is up to the designer to determine desired values via CSS by using attributes cssclass or cssstyle.

Note that this is only possible for image types for which a supported image scaler is installed. The preinstalled  "ImgScalr" image scaler is able to scale PNG, BMP and JPG images. This attribute is ignored if no scaler is available for the image type.

Value(s):

Number of Pixels