The problem here is that the data URI technique will only work with full
SVG images (ie tiddlers with the content type image/svg+xml, and that
include a DOCTYPE). It won't work with image tiddlers that use embedded SVG
elements; they don't actually define an independent image, but rather an
inline image that can be transcluded. Have a look at the difference between
the source of these two images:

http://tiddlywiki.com/#:%24%3A%2Fcore%2Fimages%2Fhome-button%20%5B%5BMotovun%20Jack.svg%5D%5D

Best wishes

Jeremy.




On Sun, Jun 1, 2014 at 6:34 AM, Stephan Hradek <[email protected]>
wrote:

> I think ith has to be like this:
>
> a:before {
>   content: url(<$macrocall $name="makedatauri" text={{$:/core/images/home-
> button}} type="image/svg+xml"/>)
> }
>
>
>
> It works partly. When I inspect a link using Firebug, I see the content
> url. But nothing is displayed.
>



-- 
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