media.image.height

Returns the height of the provided image file in pixels.

Arguments

src

DataType
mixed
Required
false
Description
Path to or id of the image file to determine info for. In case a FileReference is supplied, treatIdAsUid and treatIdAsReference will automatically be activated.

treatIdAsUid

DataType
boolean
Required
false
Description
If TRUE, the path argument is treated as a resource uid.

treatIdAsReference

DataType
boolean
Required
false
Description
If TRUE, the path argument is treated as a reference uid and will be resolved to a resource via sys_file_reference.