在这里,我努力用图像tag.In图像标记生成SVG文件,XLINK:HREF将正确显示图像路径,但在预览图像时不会呈现图像。
在这里,我的示例SVG代码:
<svg width="525" height="300" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">
<g display="" id="front">
<title>Front 1</title>
<image xlink:href="/uploads/image_gallery/portrait/879795_print_plus.jpg" src="/uploads/image_gallery/portrait/879795_print_plus.jpg" id="svg_1" height="400" width="400" y="0" x="86"></image>
<image x="0" y="0" width="5" height="5" xlink:href="http://www.google.co.uk/images/srpr/logo3w.png"></image>
<rect stroke-width="3" stroke="#000000" fill="#FFF" id="svg_2" height="202" width="202" y="67" x="35"></rect>
<ellipse ry="77" rx="122" stroke-width="3" stroke="#000000" fill="#FFF" id="svg_3" cy="82" cx="275"></ellipse>
<line fill="none" stroke-width="3" stroke="#000000" id="svg_4" y2="197" x2="109" y1="75" x1="363"></line>
</g>
</svg>加密图像SRC也没有正确呈现,如何在svg文件中预览时呈现图像?有错误吗?
发布于 2014-12-27 09:45:00
谷歌图片在你显示的区域是白色的。让它变大让它为我展示。
<image x="0" y="0" width="35" height="35" xlink:href="http://www.google.co.uk/images/srpr/logo3w.png"></image>https://stackoverflow.com/questions/27665707
复制相似问题