Forum How do I...?

Unknown image MIME type

sonyEU
Hi;

We have some issue when converting our html;

We have an external svg file called from an external css.

In html;
<link href="http://someserver/content/attachment/default.css" type="text/css" rel="stylesheet" media="all" />

And in default.css we have
@top-left {
padding-top: 22mm;
content: url('http://someserver/biz/svg/borderhead.svg');
}

But we get error;

Mon Mar 31 16:17:57 2008: http://someserver/biz/svg/borderhead.svg: warning: Unknown image MIME type: text/plain
Mon Mar 31 16:17:57 2008: http://someserver/biz/svg/borderhead.svg: warning: Unknown image format

Can you please advice how we can get over the issue?


Thanks
mikeday
Change the web server configuration so that it serves up SVG files with a MIME type of "image/svg+xml".
alyda
hi, i have a similar issue

prince: http://www.urnge.com/images/urnge.png: warning: Unknown image MIME type: image/x-png

but i do not know how to change the web server configuration (nor do i think i can since the website i'm using is an SaaS (Software as a Service, http://www.urnge.com)

is there anything i can do to resolve this?
mikeday
The next release of Prince will recognise the image/x-png MIME type.
mikeday
The new release is finally ready, with support for the image/x-png MIME type. Thanks for your patience! :)