This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

image-picker Macro

18th April 2016 at 4:58pm
Core Macros Macros

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 imageTitle contains 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]]

Examples