You're attempting to concatenate a field value in a string. Unfortunately
it's not quite that simple. This trick usually works, but I haven't tested
it so ... hopefully.
<img src={{{ [[_images/]addsuffix{!!title}addsuffix[.jpg]] }}}
alt={{!!title}} class="right" />
On Sunday, January 17, 2021 at 6:45:01 PM UTC-8 Boazter wrote:
> *Bitte*, years-long newbie here.... I would like to include images that
> are the name of the title of each tiddler. The "alt" portion works fine but
> I can't get the "src" part to work. I've tried encompassing in quotes,
> single quotes, ampersands and no quotes. I feel it's something basic that
> I'm missing. My CSS works fine for placing it on the right, but I can't get
> the image to show. What am I missing?
>
> <img src="_images/{{!!title}}.jpg" alt={{!!title}} class="right" >
>
> Much thanks in advance.
>
> MR
>
--
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/99c804d3-cb23-4241-aa30-74e81a9755dbn%40googlegroups.com.