media.image.width ViewHelper <vhs:media.image.width> 

Returns the width of the provided image file in pixels.

Arguments 

src 

DataType
mixed
Required
true
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.