Skip to the content
Documentation

ezimageobject

No ratings yet
Summary

Contains information about an image.

Persistent

No.

Attributes
Attribute Type Static* Description
filepath string Yes. The path (for example "design/example/images").
filename string Yes. The name of the image file (for example "delorean.png").
width integer Yes. The width of the image (number of pixels).
height integer Yes. The height of the image (number of pixels).
alternative_text string Yes. The alternative image text.
imagepath string No. The internal (eZ publish) path to the image (for example "design/example/images/delorean.png").
has_size boolean No. TRUE if "width" and "height" is set, otherwise FALSE.

* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.