Enable Medi Type favicon.ico (ICO) - Umrbaco v16.2.0

Hy folks,

Just wondering if anyone try to upload favicon trough Umbraco media.
I try to do something similar like SVG but didn’t succeed.

When I try to upload it:

I can’t..

Also I made some changes in appsetings.json

“CMS”: {
“Global”: {
“Id”: “**********”,
“SanitizeTinyMce”: true,
“AllowedMediaFileTypes”: [
“jpg”,
“jpeg”,
“png”,
“gif”,
“svg”,
“ico”,
“webp”
]
},

Where did I make mistake or what did I miss? Or is it even possible to add it?

Just from looking at the screenshot, one immediate action is to rename the alias of the “Icon” field to ”umbracoFile”. It is a ‘magic’ system field that just needs to be there for files. Take a look at the other media types to see what kind of properties they have.

Apart from that, Umbraco has no default preview for ICO files, so you would need to add that as a backoffice extension. You can see the default extensions here:

1 Like

Thanks, the solution was in wrong naming, I just name it like you write me “umbracoFile“. Thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.