How to set the size of the image in these case since some original image is 
large. Font icon shows perfectly.


On Thursday, September 24, 2020 at 5:41:26 PM UTC+8 Eric Shulman wrote:

> On Thursday, September 24, 2020 at 2:11:08 AM UTC-7, [email protected] 
> wrote:
>>
>> Here is the filter I use
>> <$list filter="[prefix[Excel]tag[kp]]">
>>    <h2><$link /></h2>
>> </$list>
>> Some of the tiddlers selected with icon field set.  So the tiddler itself 
>> with a icon ahead.  Like the image shown. I want the icon shown in the list 
>> result how to make it?
>>
>
> The icon field should contain the name of an image tiddler.  To show this 
> image, use the $transclude widget, like this:
> <$list filter="[prefix[Excel]tag[kp]]">
>    <h2><$transclude tiddler={{!!icon}}/><$link /></h2>
> </$list>
>
> Note: if you want the image to be included in the link, then write it this 
> way:
> <$list filter="[prefix[Excel]tag[kp]]">
>    <h2><$link><$transclude tiddler={{!!icon}}/><$text 
> text={{!!title}}/></$link></h2>
> </$list>
>
> enjoy,
> -e
>

-- 
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/bc6aad1f-3dc1-445e-83c8-44869979a425n%40googlegroups.com.

Reply via email to