ezimagealiashandler
Summary
Contains information about an image.
Persistent
No.
Attributes
| Attribute | Type | Static* | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| alternative_text | string | No. | The alternative image text (for example "Picture of an apple."). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| original_filename | string | No. | The original name of the image file (for example "apple.png"). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| is_valid | string | No. | Returns either 1 or 0 (valid or invalid). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name of variation | array | No. |
|
* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.
Contributors
- Balazs Halasy Maintainer
- Svitlana Shatokhina Updated Maintainer Commenter
- Radek Z Commenter
- Alimi Nabil Commenter
Comments (3 historical)
Written by readers of the earlier documentation sites, kept as they were.
Name of variation
Radek Z ·
Documentation doesn't says anything about 'name of variation' - it took me nearly two hours to figure out how to access listed in sub-table attributes.
Name of variation is type of image that ez should return for user:
small
medium
listitem
articleimage
articlethumbnail
gallerythumbnail
galleryline
imagelarge
large
rss
logo
infoboximage
billboard
original
With that part you can acces further attributes:
$object.data_map.image_attribute.content.original ...
eZp system is very powerful, but documentation is poor.
Re: Name of variation
Svitlana Shatokhina ·
Check http://ez.no/doc/ez_publish/techn.../reference/datatypes/image#variation
Note that image variations are controlled from within an override of the "settings/image.ini" configuration file (read the comments inside the INI file).
Exif informations
Alimi Nabil ·
The actual type of the "info" property of the variation object is "array" not "string".