Hi Jeremy
Great - Thank you :-)
This works when using an external image too:
<$link to="myTiddler"><img src="/myExternalImage.jpg"/></$link>
Cheers Måns Mårtensson
Den lørdag den 22. februar 2014 13.08.14 UTC+1 skrev Jeremy Ruston:
>
> Hi Måns
>
> Try this:
>
> <$link to="myTiddler">{{myImage}}</$link>
>
> Best wishes
>
> Jeremy
>
>
>
> On Sat, Feb 22, 2014 at 12:06 PM, Måns <[email protected] <javascript:>>wrote:
>
>> Hi TwWizards
>>
>> How do we use an image as a link to a tiddler in tw5?
>>
>> I would expect that:
>>
>> <a href={{myTiddler}}>{{myImage}}</a>
>>
>> should work it ssems however that what it does is to append the text
>> content of the myTiddler to a link which point to the address of the
>> current wiki...
>>
>> In tw classic
>>
>> We could some javascript string to open a tiddler with html syntax - like
>> this:
>>
>> <a href="javascript:;" onclick="story.displayTiddler(null,'myTiddler');
>> jQuery('#tiddlerDisplay').show(); return false;">link text</a>
>>
>> Is there a similar workaround for tw 5 ?
>>
>> Cheers Måns Mårtensson
>>
>> --
>> 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.