Re: [tw] tw5 - Field value as image url ?
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 huma...@gmail.com 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 tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] tw5 - Field value as image url ?
Hi Jeremy Thank you very much! That was a very neat trick :-) Now I have one up my sleeve too :-): I made a template tiddler TitleImageTemplate tagged it with $:/tags/Image and wrote this text: $image source={{!!image}} tooltip={{!!title}}/. This seems to work just how I wanted it to work! (in Chrome - haven't tested other browsers yet..) - except I still have to choose the icon manually for all tiddlers which should use the template. Next thing I'd like to do is to make it work on all tiddlers tagged with e.g. teacher... 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 huma...@gmail.com javascript: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 tiddlywiki+...@googlegroups.com javascript:. To post to this group, send email to tiddl...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] tw5 - Field value as image url ?
Hi Jeremy Thank you. 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 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 huma...@gmail.com javascript: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 tiddlywiki+...@googlegroups.com javascript:. To post to this group, send email to tiddl...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] tw5 - Field value as image url ?
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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] tw5 - Field value as image url ?
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 humam...@gmail.com 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.