```

Unfortunately, you can't paste the image link wikitext together with the 
transclusion text that way.

What you can do is define a macro to do the pasting. If this were at the 
top of your tiddler:

\define image-there(name) [img [./files/$name$]]

(don't include the backticks)

then when you want the image you could invoke via the macrocall widget:

<$macrocall $name="image-there" name={{##Image}}/>

```


On Sunday, January 30, 2022 at 2:16:56 AM UTC-8 [email protected] wrote:

> Hello everyone,
>
> I'm searching how to display an image whose name is a value in a tiddler 
> data, but all my attempts do not succeed.
> I'm probably not using the right syntax... or what I want to do is not 
> possible?
> Can you help me?
>
> I use two tiddlers:
>
> A data tiddler (BD-Test1) which contains:
>
> Image: test.jpg
> Fullimage: ./files/test.jpg
> Value1: No
> Value2 : Yes
>
>
> A second tiddler (Defail-Test1) which contains:
>
> <$tiddler tiddler={{{ [is[current]removeprefix[Detail]addprefix[BD]] }}} >
>
> <!-- Below, neither use the 'Image' or 'Fullimage' value displays the 
> image  -->
>
> [img [./files/{{##Image}}]]
>
> [img [{{##Fullimage}}]]
>
> !!Print values :
>
> <!-- The display of Values is  good  -->
>
> *Value1:  {{##Value1}}
> *Value2 :  {{##Value2}}
> </$tiddler>
>
> <!-- Below, the displaying of the image is correct (path of image is 
> therefore good)  -->
>
> [img [./files/test.jpg]]
>
>
> In advance, thanks for your help.
>
> Arnaud
>

-- 
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/741a9b2b-f8b3-43f1-ad5e-f02ce2b6687cn%40googlegroups.com.

Reply via email to