I want to create a reusable header for my tiddlers that contains a
changeable image. I came across transclusion, but I can't figure how to use
it with images.
I have no issue displaying an image with an explicit declaration:
[img[path/to/image.png]]
<img src="path/to/image.png">
however I'm not having any luck displaying the image with transclusion.
Using:
image: image.png
I get a broken image when I try to use the following:
[img[path/to/{{!!image}}]]
<img src="path/to/{{!!image}}">
Nothing displays when I use the following:
[img[path/to/<$transclude field="image"/>]]
And the following just renders it as text (<img src="path/to/image.png">):
<img src="path/to/<$transclude field="image"/>>
Is what I'm trying to do not possible, or how can I get this to work?
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/74418b8b-4fa9-4f38-949b-1fba0945c77d%40googlegroups.com.