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

thumbnail.writeHtml Method

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Generates the HTML code which will embed the thumbnail control and writes this code directly into the page.

Syntax

JavaScript
$au.thumbnail('uploaderID').writeHtml();

Remarks

Note

As soon as you call the writeHtml(), all necessary HTML code is inserted into the page at the current position. Alternatively, you can get the string with appropriate HTML code using the getHtml() method, and write it to the necessary position manually (maybe with some modifications).