18th April 2016 at 3:58pm
The image-picker macro displays an interactive image picker, as can be seen in the core text editor.
Parameters
- actions
- Wikitext for the action widgets that should be executed when the user selects an image. Within the text, the variable
imageTitlecontains the title of the tiddler containing the selected image. - subfilter
- An optional extra filter step, e.g.
tag[MyTag]
The images are selected by means of a filter expression, into which the subfilter parameter is spliced as follows:
[all[shadows+tiddlers]is[image]$subfilter$!has[draft.of]] -[type[application/pdf]] +[sort[title]]