If Image widget is a svg:image element, then href content is replaced by
shortdesc > Image display
dispatch(value, oldval, index) {
| this.element.setAttribute('href', this.given_url);
gen_index_xhtml { // following content is only available when generating xhtml file
// strip inkscape embedded bitmap when it is meant to be replaced by HMI:Image widget
svgtmpl "svg:image[starts-with(@inkscape:label, 'HMI:Image')]", mode="inline_svg" {
apply "@*[not(contains(name(), 'href'))] | node()", mode="inline_svg";