ezimagealiashandler

Summary

Contains information about an image.

Persistent

No.

Attributes

Attribute

Type

Description

alternative_text

string

The alternative image text (for example "Picture of an apple.").

original_filename

string

The original name of the image file (for example "apple.png").

is_valid

string

Returns either 1 or 0 (valid or invalid).

name of variation

array

Attribute

Type

Description

name

string

The name of the variation (for example "original").

width

string

The width as number of pixels (for example "320").

height

string

The height as number of pixels (for example "256").

mime_type

string

The MIME type (for example "image/png").

filename

string

The name of the file (for example "my_image.png").

suffix

string

The file suffix (for example "png").

dirpath

string

The path to the image (for example "var/storage/images/test/199-2-eng-GB").

basename

string

The basename of the image file (for example "apple").

alternative_text

string

The alternative image text (for example "Picture of an apple.").

text

string

Contains the "alternative_text" of the original image.

original_filename

string

The name of the original file (for example "apple.png").

url

string

Complete path + name of image file (for example "var/storage/images/test/199-2-eng-GB/apple.png").

alias_key

string

A internal CRC32 value which is used when an alias is created. This value is based on the filters that were used (parameters included) and is checked when an alias is accessed. If this values differs from the configured filters (in image.ini or an override), the system will recreate the alias.

timestamp

string

A UNIX timestamp pinpointing the exact date/time when the alias was last modified. For the "original" alias, the timestamp will reveal the time when the image was originally uploaded.

full_path

string

Complete path + name of image file (for example "var/storage/images/test/199-2-eng-GB/apple.png").

is_valid

string

TRUE if the alias was created properly, that means all conversion and filters were applied without problems. It will be FALSE if the image manager is wrongly configured or if there no compatible image converters could be found.

is_new

boolean

Will be set to TRUE the first time the alias is created, the next time (reload of the same page) it will be FALSE. It will also be set to TRUE every time the alias is re-created due to changes in filters (see alias_key).

filesize

integer

The number of bytes that the image consumes.

info

string

Contains extra information about the image, depending on the image type. It will typically contain EXIF information from digital cameras or information about animated GIFs. If there is no information, the info will be a boolean FALSE.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.