Try this:

\define linkimage(title,url)
<$link to="$title$"><img src="$url$"></$link>

\end

Here is an image: <<linkimage MyTiddler "
http://orbit/livelink/llisapi.dll/open/5270759";>>

Best wishes

Jeremy


On Fri, Jun 28, 2013 at 3:03 PM, Iskie Isketerol <[email protected]>wrote:

> Here's what I tried, using your example
>
> \define linkimage(title,url)
> <$link to="$title$"><img
> src="$http:\\orbit/livelink/llisapi.dll/open/5270759$"></$link>
>
> \end
>
> Here is an image: <<linkimage MyTiddler myimage.jpeg>>
>
>
> Nothing displayed - I should have seen the JPG image which the URL
> referenced.  Am I missing something obvious?
>
> *kjc*
>
>
>
>
> On Wednesday, June 26, 2013 7:38:36 AM UTC-4, Jeremy Ruston wrote:
>
>>   It seems that it;s still not possible to display images from an 
>> http://reference as it was in the previous TiddlyWIKI.
>>>
>>
>> That is correct - as things stand, it is only possible to display
>> external images via an inline <img src="blah"> tag. I have thought that the
>> old [img[URL]] syntax could be re-introduced as a shortcut for the <img>
>> tag.
>>
>>
>>> I have been rolling out a solution based on use of "img" links and was
>>> hoping to how how much nicer TiddyWIKI5 is to look at.  We keep a load of
>>> screenshots as files on a external system - without these links working my
>>> solution does not either.
>>>
>>
>> You can use image links in TW5 like this:
>>
>> <$link to="TiddlerTitle"><img src="myimage.jpeg></$link>
>>
>> It can be simplified by using a macro definition at the top of a tiddler.
>> For example:
>>
>> \define linkimage(title,url)
>> <$link to="$title$"><img src="$url$"></$link>
>> \end
>>
>> Here is an image: <<linkimage MyTiddler myimage.jpeg>>
>>
>>
>>>
>>>   Any chance that you're secretly holding back this feature?
>>>
>>
>> Ha! I'm just a poor documentarian.
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>>
>>>   Thanks.
>>>
>>> kjc
>>>
>>>
>>> On Tuesday, July 31, 2012 7:34:17 PM UTC-4, PMario wrote:
>>>>
>>>> On Jul 30, 11:33 pm, John Hind <[email protected]> wrote:
>>>> > However there is now way to much redundancy for my taste. All the
>>>> following
>>>> > seem to be equivalent:
>>>> >
>>>> > 1. ((Motovun Jack.jpg))
>>>> @jeremy
>>>> I'm not 100% sure, but I think, the ((...)) starts it's live as a
>>>> replacement for the <<inclusion ...>> macro, that was used inside
>>>> template tiddlers. It just did include text from a tiddler, without
>>>> any <div> or <span> wrapper into the template. right?
>>>> So the usecase is totally different to a <<tiddler>> transclusion.
>>>>
>>>> > 4. <<image [[Motovun Jack.jpg]]>>
>>>> > 5. <<tiddler [[Motovun Jack.jpg]]>>
>>>> For me this are 2 totally different macros. That both of them display
>>>> the x.jpg tiddler as a picture is a coincidence. If I change the
>>>> "type" field of x.jpg to "text/plain" I want <<tiddler [[Motovun
>>>> Jack.jpg]] "className">> to display the tiddler content as text. With
>>>> jpg, it would only make sense for debugging but anyway. With svg it
>>>> makes sense .....
>>>>
>>>> <<image [[anypic]] width:111 height:111 other image specific params to
>>>> come >> ... should display a tiddlers content as a picture, no matter
>>>> what type the tiddler is.
>>>>
>>>> -m
>>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWikiDev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to tiddlywikide...@**googlegroups.com.
>>>
>>> To post to this group, send email to [email protected]**.
>>> Visit this group at 
>>> http://groups.google.com/**group/tiddlywikidev<http://groups.google.com/group/tiddlywikidev>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>


-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to