Hi Måns

>
> Are there any plans to let the icon field value accept/use external images
> (via URLs http or file)?
>
> eg. icon: http://somedomain.com/someimage.png
>

At the moment, the templates use transclusion for the icon:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/ui/ViewTemplate/title.tid#L14
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/ui/TagTemplate.tid#L9

We could switch it to use the <$image> widget instead, which does
understand how to embed remote image URIs. However, the <$image> widget
can't display images that are actually wikitext tiddlers containing SVG
tags (eg, $:/core/images/delete-button).

So, as things stand we have a tradeoff:

* Stick with transclusion, allowing us to use images and wikitext images
* Switch to the image widget, losing the ability to use wikitext images

There is a workaround, though: create a "stub" tiddler representing the
remote image, with the text containing a reference to the remote image (eg
`[img[http://blah.com/blah.jpg]]`. If you give it the tag $:/tags/Image
then it will be recognised by the tag manager as an image and included in
the image dropdowns.

Best wishes

Jeremy




>
>
> Cheers Måns Mårtensson
>
> Den torsdag den 24. april 2014 11.30.03 UTC+2 skrev Jeremy Ruston:
>>
>> Hi Måns
>>
>> > I'm trying to do sth like this: [img[{{!!title}}|{{!!image}}]] where
>> image is a custom field value... However it doesn't work... (I'm using TW5
>> 5.0.10-beta)
>>
>> To do this you need to use the raw <$image> widget:
>>
>> <$image source={{!!image}} tooltip={{!!title}}/>
>>
>> See http://tiddlywiki.com/static/ImageWidget.html
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>
>> On Thu, Apr 24, 2014 at 10:17 AM, Måns <[email protected]> wrote:
>>
>>> Hi TwWizards
>>>
>>> I'm trying to do sth like this: [img[{{!!title}}|{{!!image}}]] where
>>> image is a custom field value... However it doesn't work... (I'm using TW5
>>> 5.0.10-beta)
>>>
>>> I also tried to input the fieldvalue (an external image url) into the
>>> icon via the TagManager - which doesn't work either...
>>>
>>> Should I expect something like this to be possible in the near future?
>>>
>>> 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].
>>> 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/d/optout.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>


-- 
Jeremy Ruston
mailto:[email protected]

-- 
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/d/optout.

Reply via email to