HtmlRewriter::rewrite_img (open)

If set, this function is called for every encountered image url within attributes (see the 'imgs' attribute in the html array for the attributes that are handles as hyperlinks) Give back the rewritten image url (signature: STRING FUNCTION(STRING imageurl)

Syntax

LOADLIB "wh::filetypes/html.whlib";

FUNCTION PTR rewrite_img