Description Details Usage Slots Methods Author(s) See Also Examples
Some utilities to insert images into TiddlyWiki.
Resizing is done using http://www.tiddlytools.com/#ImageSizePlugin where (w,h) indicates the desired width and height (in CSS units, e.g., px, em, cm, in, or %). [img(w+,h+)[...][...]]
new ("twImage", imgf, ...)
twImage (imgf, ...)
imgf
:the image file.
label
:label of the image.
ref
:optional; a target tiddler or URL to be redirected to.
align
:alignment of the image. May be NA, "r" or "l".
width
:width scaling factor.
height
:height scaling factor.
imgf
:access the imgf slot.
label
:access the label slot.
ref
:access the ref slot.
align
:access the align slot.
width
:access the width slot.
height
:access the height slot.
David Montaner dmontaner@cipf.es
1 2 3 | new ("twImage", imgf = "myImageFile.png")
twImage ("myImageFile.png")
wikify (twImage ("myImageFile.png"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.