It is possible to upload .ico files to the media library, but they do not seem to be properly supported (Umbraco v6.1.6).
If you drag-and-drop they are uploaded as files. If you create an Image and upload the file, they do not get processed properly. The only setting I could find was the list of extensions that cause a thumbnail to be created - not ideal as the thumbnail is much bigger than the original file!
I guess the main issue is that they (.ico files) are not recognised / treated as images when using the drag-and-drop method of uploading. Also, it would be nice if they displayed properly when browsing the media library folders.
Is there a way to make ico files appear nicely?
I am working on a multi-site system and each site will need its own favicon. I want to allow the images to be uploaded via the CMS.
If you do it through the API you can define the media type and than it might work. It will try to create a thumbnail and I don't know what happens when it tries to generate a thumbnail from an ico file. This example might help: https://gist.github.com/nul800sebastiaan/8008892
It would be much nicer if the Media Library just displayed the ico file, or generated a jpg containing an unaltered image. I appreciate that this is not a major feature requirement, so I will probably just instruct the client on how to upload the Favicon images - manually, rather than drag-and-dropping them!
ico files in media library
It is possible to upload .ico files to the media library, but they do not seem to be properly supported (Umbraco v6.1.6).
If you drag-and-drop they are uploaded as files. If you create an Image and upload the file, they do not get processed properly. The only setting I could find was the list of extensions that cause a thumbnail to be created - not ideal as the thumbnail is much bigger than the original file!
I guess the main issue is that they (.ico files) are not recognised / treated as images when using the drag-and-drop method of uploading. Also, it would be nice if they displayed properly when browsing the media library folders.
Is there a way to make ico files appear nicely?
I am working on a multi-site system and each site will need its own favicon. I want to allow the images to be uploaded via the CMS.
Hello,
If you look into the Umbraco source code you can see this:
So those are the image types which are supported. If you want ico support you'll need to change the source code.
Jeroen
OK ... obviously, I don't want to go changing the Umbraco source code.
Is it possible to deal with this via the API?
Hello,
If you do it through the API you can define the media type and than it might work. It will try to create a thumbnail and I don't know what happens when it tries to generate a thumbnail from an ico file. This example might help: https://gist.github.com/nul800sebastiaan/8008892
Jeroen
Hi Gordon,
Here is a topic where the same question has been discussed.
http://our.umbraco.org/forum/using/ui-questions/13841-Multiple-sites-each-with-it%27s-own-favicon
Hopefully this can inspire you to a solution, or maybe you could use JanĀ“s suggestion.
/Dennis
I added "ico" to
It would be much nicer if the Media Library just displayed the ico file, or generated a jpg containing an unaltered image. I appreciate that this is not a major feature requirement, so I will probably just instruct the client on how to upload the Favicon images - manually, rather than drag-and-dropping them!
is working on a reply...