Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi! When i try to add favicon to my site the site crashes and i get this error message:
I only encounter this error when i use the file format "ico" and not with PNG. But when adding with PNG, the favicon doesnt change.
Anyone got any ideas on how to solve this?
It looks like when an ICO file is uploaded to the Umbraco media library it's being uploaded as a File type instead of an Image type.
So your exception is being thrown when it tries to convert it from an IPublishedContent to a type of Image.
If you go into the Umbraco back office, into your media section, and then explicitly upload the ICO file as an Image you should find it resolves the issue.
That solved it! Thank you so much!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted