Daniel F
Daniel F

Reputation: 134

XPages and .svg files

I've added an image in .svg format to my file resources, but it seems I can't use it with the xpages image control nor the img tag.

Is there something I need to do first or does XPages not support the usage of .svg files?

Any help / answer would be highly appreciated.

Upvotes: 0

Views: 598

Answers (1)

Serdar Basegmez
Serdar Basegmez

Reputation: 3355

In File resources, select the file, go to web properties and type in the Mime type as image/svg+xml.

Since Domino does not recognise SVG file type, it cannot suggest a mime type for the response.

Setting MIME Type

Upvotes: 2

Related Questions