Why is this image inside svg not being displayed?

superczan

Here is the plunkr:

http://jsfiddle.net/6L7utsoe/

<body>
<svg height=“200” width=“200”>
    <g id="elem1" class="ng-scope ng-isolate-scope">
        <g x="0" id="txt" y="0" height="333.3333333333333" width="255" fill-opacity="1" fill="#aa0000" stroke="#000000" stroke-opacity="1" frames="" mv="true">
            <image x="0" y="0" height="333.3333333333333" width="255" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="data:image/png;base64,URI"></image>
        </g>
    </g>
</svg>

It's an svg image inside two nested elements. The reason the second has a bunch of parameters is because it is output after compilation from Angular directive. The html I have in the jsfiddle is what I receive in google chrome. The image reads from base-64 URI. But it fails to load. It could be something really silly as I am new to SVG as well.

Alex_B

I updated your fiddle :http://jsfiddle.net/Rathunter/6L7utsoe/1/

You set SVG with some weird quotes on

 <svg width="200" height="200"> </svg>

and this seemed to break your example.

Hope this helps!

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Why this SVG is not being displayed in Google Maps (JavaScript)?

From Dev

why is this image not being displayed in asp.net?

From Dev

background-image not being displayed in div inside DataList ItemTemplate?

From Dev

Background Image is not being Displayed

From Dev

Wrong Image is being displayed

From Dev

Why is my image not being displayed correct when loading it using readfile

From Dev

Text inside <a> tag not being displayed?

From Dev

background-image not being displayed

From Dev

Why is my data not being displayed?

From Dev

Why my Listview not being displayed?

From Dev

Background SVG image inline not displayed

From Dev

SVG image not displayed, possibly obscured

From Dev

SVG image is displayed differently in browsers

From Dev

SVG being displayed differently on Chrome and Firefox

From Dev

Why the image is not displayed?

From Dev

images inside gmail email not being displayed

From Dev

Image inside of the div is displayed outside of it

From Dev

SVG image inside circle

From Dev

Why QIcon / QPixmap loaded image format should be png (and not svg) to be displayed in binary?

From Dev

Downloaded image not being displayed iOS Swift

From Dev

Image width in canvas isnt being displayed correctly

From Dev

Image not being displayed using webcam in opencv

From Dev

Redactor: image upload not being displayed in text editor

From Dev

Downloaded image not being displayed iOS Swift

From Dev

Whitespace after image is being displayed as link

From Dev

Why the grid view is not being displayed on the browser?

From Dev

Why is my Javascript alert not being displayed?

From Dev

Why the grid view is not being displayed on the browser?

From Dev

Why aren't the query results being displayed?

Related Related

  1. 1

    Why this SVG is not being displayed in Google Maps (JavaScript)?

  2. 2

    why is this image not being displayed in asp.net?

  3. 3

    background-image not being displayed in div inside DataList ItemTemplate?

  4. 4

    Background Image is not being Displayed

  5. 5

    Wrong Image is being displayed

  6. 6

    Why is my image not being displayed correct when loading it using readfile

  7. 7

    Text inside <a> tag not being displayed?

  8. 8

    background-image not being displayed

  9. 9

    Why is my data not being displayed?

  10. 10

    Why my Listview not being displayed?

  11. 11

    Background SVG image inline not displayed

  12. 12

    SVG image not displayed, possibly obscured

  13. 13

    SVG image is displayed differently in browsers

  14. 14

    SVG being displayed differently on Chrome and Firefox

  15. 15

    Why the image is not displayed?

  16. 16

    images inside gmail email not being displayed

  17. 17

    Image inside of the div is displayed outside of it

  18. 18

    SVG image inside circle

  19. 19

    Why QIcon / QPixmap loaded image format should be png (and not svg) to be displayed in binary?

  20. 20

    Downloaded image not being displayed iOS Swift

  21. 21

    Image width in canvas isnt being displayed correctly

  22. 22

    Image not being displayed using webcam in opencv

  23. 23

    Redactor: image upload not being displayed in text editor

  24. 24

    Downloaded image not being displayed iOS Swift

  25. 25

    Whitespace after image is being displayed as link

  26. 26

    Why the grid view is not being displayed on the browser?

  27. 27

    Why is my Javascript alert not being displayed?

  28. 28

    Why the grid view is not being displayed on the browser?

  29. 29

    Why aren't the query results being displayed?

HotTag

Archive