Hi Alex There is some documentation about the difference between SVG images and tiddlers containing SVG elements here:
https://tiddlywiki.com/#Using%20SVG <https://tiddlywiki.com/#Using SVG> The advantage of using “raw” SVG elements is that they can be styled via CSS, unlike SVG images within an img element. Best wishes Jeremy > On 6 Feb 2019, at 16:39, 'Mark S.' via TiddlyWiki > <[email protected]> wrote: > > I think because the tiddler is actually SVG instructions for embedding, it > doesn't get rendered. So although it does get rendered when transcluded, it's > not really an image per se. If you had tried instead an actual image, it > would have worked: > > [img[Motovun Jack.jpg]] > > > -- Mark > > > On Wednesday, February 6, 2019 at 8:16:59 AM UTC-8, Alex wrote: > Hi, > > Try the following code: > > "{{$:/core/images/chevron-down}} vs. [img[$:/core/images/chevron-down]]" > > For me, on TW 5.1.19, the second way does not render anything. I did not dig > deeper, but could it be that the name of the core image is interpreted as > external URL by the widget instead of tiddler name? > > I guess it is possible to mirror the behaviour of the image widget with its > height and width attributes using transclusion and CSS as in > https://tiddlywiki.com/#ImageGallery%20Example > <https://tiddlywiki.com/#ImageGallery%20Example>, stuffing it all in some > macro. However, shouldn't it all work out of the box? > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/3673fb0a-1686-418d-b83d-ac0ea8aaf95b%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/3673fb0a-1686-418d-b83d-ac0ea8aaf95b%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2251547B-7ED1-4588-9F5B-44A559F050AA%40gmail.com. For more options, visit https://groups.google.com/d/optout.

