List images

73 views
Skip to first unread message

Mohammad

unread,
Jun 18, 2018, 8:52:24 AM6/18/18
to TiddlyWiki
I have few tens images in a TW 5.1.18-preresale
I want to list all of them in a tiddler so I did as below


<$list filter="[tag[png]] [tag[jpg]] [tag[gif]]">
 [img width="128px"[<
<currentTiddler>>]]
</$list>




but it does not work, what is the problem?

/Mohammad

Mark S.

unread,
Jun 18, 2018, 11:12:07 AM6/18/18
to TiddlyWiki
You can't drop a macro into wiki text like that, unfortunately. You might be able to make a macro that would "glue" the two together.

But it's probably easier to just use the <$image> widget. So something like:

<$list filter="[tag[png]] [tag[jpg]]
[tag[gif]]">
 <$image width="128px" source=<
<currentTiddler>>/>
</$list>

Good luck!
-- Mark

Mohammad

unread,
Jun 18, 2018, 12:01:56 PM6/18/18
to TiddlyWiki
Mark!
 Thank you! It works like a charm!
I got the point!

Cheers
Mohammad
Reply all
Reply to author
Forward
0 new messages