cancel
Showing results for 
Search instead for 
Did you mean: 

Ico type image cannot be displayed in MII 12.2.3

Former Member
0 Kudos

Hi Experts,

I'm trying to use ico type files in the irpt page as below. This html page works fine if I open it on my own laptop. But when I import the ico file to MII project folder and create a new irpt page with the same code, the ico files cannot be displayed. Any idea about does MII 12.2.3 support ico type images? Thanks for the answer in advanced.

Best regards,
Lawrence

<html>
<head>
</head>
<body style="background-color: lime;">

<div>
<img src="x-red.ico" />
</div>

<div>
<img src="x-red.ico" width="10px"/>
</div>

</div>

</body>
</html>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

IE doesn't display served .ico files inline with a page, and it's unlikely you're gonna be able to make it display them without doing some kind of processing. At the most simple level, you can just read the external images and serve them up as the right mime type [type="image/x-icon"], without converting them.

Try to use a webserver on your computer, and you'll observe the same result as you get from NW. It's about header information here. If you open an HTML file in IE from your desktop, that header information is simply not there.

I think the best thing to do is convert them to another format. If you are displaying the icons manually then you could download each, convert it with an image program to PNG for example, and upload them to your project.

Former Member
0 Kudos

Thanks for the answer! Guess I will stick with PNG then.

Best regards,
Lawrence

Answers (0)