file.width Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets a width of the user-selected file.

Syntax

JavaScript Get/Set Value at Runtime
value = $au.uploader('uploaderID').files().get(index).width();

Property Value

Type: Number

The width of this file (in pixels) if it is an image; otherwise, 0 is returned.