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

BackgroundImageFormat.Url Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a URL to the background image.

Syntax

PHP
public function getUrl() {
}

public function setUrl($value) {
}

Property Value

Type: string

The URL to the background image.

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