This documentation is for the old version. Go to the latest Upload Suite docs

ImageFormat.UrlPressed Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a URL to the image which represents a button/icon when it is pressed. If omitted, last drawn image will be used.

Syntax

PHP
public function getUrlPressed() {
}

public function setUrlPressed($value) {
}

Property Value

Type: string

The URL to the image which represents a button/icon when it is pressed.

Default value is "".

Remarks

You can use images of all formats recognized by Image Uploader as images. If you load animated GIF files, only the first frame will be displayed.

Image URLs can be both absolute (e.g. http://domain.com/images/image.png) and relative to the current page (e.g. /images/image.png).

For example, if Image Uploader is inserted to the http://domain.com/ImageUploader/index.html page, the relative URLs specified via this property will correspond to the following locations.

Specified URLExpected Location
"/images/image.png"http://domain.com/images/image.png
"./images/image.png"http://domain.com/ImageUploader/images/image.png
"images/image.png"http://domain.com/ImageUploader/images/image.png
"image.png"http://domain.com/ImageUploader/image.png

See Also

Reference