SVG< image>的语法元素使用本地资源 [英] Syntax for SVG <image> element using a local resource
本文介绍了SVG< image>的语法元素使用本地资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将SVG-image-element与本地源(例如 C:\ image.png
)一起使用时,语法是否存在差异互联网(例如 http://www.google.de/intl/de_ALL/images/logos/images_logo_lg.gif
)?
Is there a difference in the syntax when using the SVG-image-element with a local source (e.g. C:\image.png
) and a source on the internet (e.g http://www.google.de/intl/de_ALL/images/logos/images_logo_lg.gif
)?
我的问题是以下工作:
<image x="100" y="100" width="100" height="100" xlink:href="http://www.google.de/intl/de_ALL/images/logos/images_logo_lg.gif">
</image>
以及以下内容,我只是得到一个白页:
and with the following, i'm just getting a white page:
<image x="100" y="100" width="100" height="100" href="C:\google.png"></image>
推荐答案
你试过文件:/// c:/google.png
?
这篇关于SVG< image>的语法元素使用本地资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文