10th March 2024 at 1:37pm
The tv-get-export-image-link variable controls the value of the src
attribute on the HTML img
element generated by the $image
widget when the value of its source
attribute is not the title of a tiddler.
The variable should be a function with the following parameter:
- src
- The value of the
source
attribute – equivalent to the image name specified in the shorthand syntax[img[source]]
The ability to override image URIs in this way can be useful when one is using the Node.js configuration to export a static version of a wiki.