I don't understand what you mean by "it has to be just the paths".

The following will show an image stored in a poster field.

\define imgposter(img) [img[$img$]]
POSTER: <$macrocall $name=imgposter img={{!!poster}}/>


Transclusion's are not real "Things", or at least that's not how they seem 
to work to me. They're kind of like asking the waiter to bring you a piece 
of toast, and instead he brings you a picture of a piece of toast. So, you 
can't really pass the result of transclusion, but instead you pass 
instructions for making the transclusion into an entity (a macro) that can 
combine the transclusion instructions with other instructions.

The two ways that I know of to accomplish this is by using a set widget to 
set an environment variable, or by using the macro call widget  to set a  
macro variable.

Basically, whenever you find that you want to "pass" the results of a  
transclusion to something else (like an image clause), you almost always 
need a macro, where the results are passed as the argument in a macro call 
widget, or first set as an environmental variable using Set widget. 

I may not be understanding this properly, and would be open to a clearer 
explanations and/or techniques for dealing with problems like you've 
outlined here.

Good luck!
- Mark


On Tuesday, June 28, 2016 at 4:03:08 AM UTC-7, Jan wrote:
>
> Hallo! 
> I want to build a template in which I transclude the imagelinks stored 
> in the field poster into an expression that renders the image. 
> It hast to be just the paths because I also have to use them in the 
> videotag. 
> How do you do this? 
> [img[{{!!poster}}]]  [img{!!poster}]? 
>
> Thanks and cheers 
> Jan 
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/35578636-c5e3-48ba-b12b-bfb947c1efe3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to