The ICO file format is basically a Windows only thing and it's not a web standard. Don't use ICO files in your applications to represent images. There is no guarantee that the browser will support that ICO file. Prefer PNG, JPG and WEBP file formats (I wouldn't recommend GIF either, unless you need animation).
The favicon.ico is the only place where .ico files are effectively used in the web, more for historical reasons than anything else. If you copy a file named favicon.ico to the wwwroot folder, IntraWeb will serve it as the icon for your application, if the browser requests it (the browser requests for it automatically, there is no need to specify that in your HTML).
07-20-2023, 05:14 PM (This post was last modified: 07-20-2023, 05:14 PM by MJS@mjs.us.)
I also prefer that icons display like the other images. I tried https://google.com/favicon.ico and it displays correctly. Adding "SameText(xExt, '.ICO') or" to the end of line 258 in IWMimeTypes.pas might fix it.