Sign In

$imageSize[]

Returns the image's size

v1.1.0+ Requires Brackets

Usage

$imageSize[;]
Also callable as
$imgSize $imageDimensions

Arguments

NameTypeRequiredDescription
path
StringYesThe image path or name (via images://name or, preload://name, if global)
property
NoWhether to return the image's width or height; Returns both as JSON if empty

Was this page helpful?