Gets a width of this user-selected file (in pixels) if it is an image.

Syntax

PHP

public function getSourceWidth() {
}

Property Value

Type: string

The width of this user-selected file (in pixels) it it is an image. Otherwise, this property returns 0.