Image missing from SVG used as background object in HTML

Question:

When I use the SVG output from PDFNet as the CSS background for my HTML page, the images are not appearing.

The command I use to generate the SVG is

pdf2svg --embedfonts -o output input.pdf

And the HTML is

`

Test of rendered SVG. #pageBg { background: url('output.svg'); background-repeat: no-repeat; overflow: hidden; position: absolute; width: 1816px; height: 826.5px; } body { overflow: hidden; }
`

Answer:

It appears there is a limitation on CSS background url that prevents accessing external elements.

You need to embed both the fonts and images.

pdf2svg --embedfonts --embedimages -o output input.pdf