I find all these errors that Zope can't find a favicon.ico pretty annoying. Can we put one into 2.10s root by default, or is that for some reason a bad idea? -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 24 Apr 2006, at 10:59, Lennart Regebro wrote:
I find all these errors that Zope can't find a favicon.ico pretty annoying. Can we put one into 2.10s root by default, or is that for some reason a bad idea?
+1 from me. The circle-Z should make an OK icon.
jens
--On 24. April 2006 11:59:40 +0200 Lennart Regebro regebro@gmail.com wrote:
I find all these errors that Zope can't find a favicon.ico pretty annoying. Can we put one into 2.10s root by default, or is that for some reason a bad idea?
No objections.
-aj
Lennart Regebro wrote:
I find all these errors that Zope can't find a favicon.ico pretty annoying. Can we put one into 2.10s root by default, or is that for some reason a bad idea?
+1
Zope 3 has a decent one, I think: http://svn.zope.org/Zope3/trunk/src/zope/app/rotterdam/favicon.png?rev=13888...
Philipp
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 24 Apr 2006, at 11:43, Philipp von Weitershausen wrote:
Lennart Regebro wrote:
I find all these errors that Zope can't find a favicon.ico pretty annoying. Can we put one into 2.10s root by default, or is that for some reason a bad idea?
+1
Zope 3 has a decent one, I think: http://svn.zope.org/Zope3/trunk/ src/zope/app/rotterdam/favicon.png?rev=13888&view=auto
Yeah, that's nice. Does it work as a PNG, though? I was under the impression (and thought the spec requires) that favicons must be *.ico files.
jens
2006/4/24, Jens Vagelpohl jens@dataflake.org:
Yeah, that's nice. Does it work as a PNG, though? I was under the impression (and thought the spec requires) that favicons must be *.ico files.
A PNG favicon will work in the Mozilla family, but not in IE. kit
-- kit BLAKE Infrae · infrae.com + 31 10 243 7051 Hoevestraat 10 · 3033GC · Rotterdam · The Netherlands
On 24 Apr 2006, at 11:57, kit BLAKE wrote:
2006/4/24, Jens Vagelpohl jens@dataflake.org:
Yeah, that's nice. Does it work as a PNG, though? I was under the impression (and thought the spec requires) that favicons must be *.ico files.
A PNG favicon will work in the Mozilla family, but not in IE.
OK, that would be unacceptable, IMHO. However, the awesome power of Graphic Converter helped me produce a ICO file from the PNG, which I am attaching to this email (no idea if the list lets it through, though).
jens
2006/4/24, Jens Vagelpohl jens@dataflake.org:
A PNG favicon will work in the Mozilla family, but not in IE.
OK, that would be unacceptable, IMHO. However, the awesome power of Graphic Converter helped me produce a ICO file from the PNG, which I am attaching to this email (no idea if the list lets it through, though).
Works for me (although I'm on an Apple, someone please test with Win/IE)) kit
-- kit BLAKE Infrae · infrae.com + 31 10 243 7051 Hoevestraat 10 · 3033GC · Rotterdam · The Netherlands
kit BLAKE wrote:
2006/4/24, Jens Vagelpohl jens@dataflake.org:
Yeah, that's nice. Does it work as a PNG, though? I was under the impression (and thought the spec requires) that favicons must be *.ico files.
A PNG favicon will work in the Mozilla family, but not in IE. kit
However I'd be surprised if a .gif didn't work.
Florent
Florent Guillaume wrote:
kit BLAKE wrote:
2006/4/24, Jens Vagelpohl jens@dataflake.org:
Yeah, that's nice. Does it work as a PNG, though? I was under the impression (and thought the spec requires) that favicons must be *.ico files.
A PNG favicon will work in the Mozilla family, but not in IE. kit
However I'd be surprised if a .gif didn't work.
So far as I can tell, neither .png nor .gif work for favicon.ico in IE. It will display a gif/png named favicon.ico in the browser, but it won't use it as an icon on the address bar/favourites.
There's a nice little Mac freeware app named IcoMaker for creating .ico files from GIF files. .ico files are actually containers for various icon sizes and color depths and this app allows you to create an .ico file out of up to six sizes/depths. I stole the favico from zope.org and made one using IcoMaker with a single size/depth (16x16/16colors). It's attached. I haven't tried it in IE. If it doesn't work for whatever reason, maybe someone else who has more icon-foo can do a more thorough job.
- C
On Apr 24, 2006, at 10:16 AM, Duncan Booth wrote:
Florent Guillaume wrote:
kit BLAKE wrote:
2006/4/24, Jens Vagelpohl jens@dataflake.org:
Yeah, that's nice. Does it work as a PNG, though? I was under the impression (and thought the spec requires) that favicons must be *.ico files.
A PNG favicon will work in the Mozilla family, but not in IE. kit
However I'd be surprised if a .gif didn't work.
So far as I can tell, neither .png nor .gif work for favicon.ico in IE. It will display a gif/png named favicon.ico in the browser, but it won't use it as an icon on the address bar/favourites.
Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Chris McDonough wrote:
There's a nice little Mac freeware app named IcoMaker for creating .ico files from GIF files. .ico files are actually containers for various icon sizes and color depths and this app allows you to create an .ico file out of up to six sizes/depths. I stole the favico from zope.org and made one using IcoMaker with a single size/depth (16x16/16colors). It's attached. I haven't tried it in IE. If it doesn't work for whatever reason, maybe someone else who has more icon-foo can do a more thorough job.
That one works, at least in those cases where IE is displaying the icon at 16x16. Some higher resolution images in the file would be useful though for situations where it decides to display larger icons, otherwise it looks pretty blocky.
So far I've found at least 4 different icon sizes used in IE and one outside. From smallest to largest: address bar and favourites toolbar are smallest (1), the links toolbar uses a larger icon (2), favourite properties has the icon on two tabs in different sizes 'web document' (3) and 'General' (4). And of course IE's favourites are actually just a folder, so you need a suitable icon for Explorer's icon view (5).
I haven't measured these, but I would guess the sizes I saw were 16, 24, 32, 48, and 64 pixels.
There's an icon maker at http://favicon.ru/en/ which will do 16,32 and 48 pixel images online, but I don't have a decent starting image.
Turns out the Gimp is pretty good at making icons, although it's not 100% evident how to do it, and you have to specify the bit-depth for each layer everytime you save, which is sligthly annoying.
Anu I have added a favicon.ico to trunk. For some reason it doesn't show up in the Bookmark list of Firefox. If this is a caching problem, or something else, I don't know yet. If anybody knows, tell me and I'll fix it,
For your viewing pleasure, I attached the big Z gif I used to create the icons, the GIMP file with transparent and non-transparent versions in 16x16, 32x32 and 48x48, and the resulting icon.
Lennart Regebro wrote:
Anu I have added a favicon.ico to trunk. For some reason it doesn't show up in the Bookmark list of Firefox. If this is a caching problem, or something else, I don't know yet. If anybody knows, tell me and I'll fix it,
For your viewing pleasure, I attached the big Z gif I used to create the icons, the GIMP file with transparent and non-transparent versions in 16x16, 32x32 and 48x48, and the resulting icon.
I checked it on IE and Windows Explorer in all the different sizes I could find and it looks great almost all of the time.
Unfortunately in the properties tabs it looks absolutely terrible in IE with a 120dpi display (such as my laptop), but I put that down to IE stupidity.
What may be more significant is that simply retrieving favicon.ico into IE displays garbage. I don't know why; IE seems perfectly capable of displaying it on the address bar or favourites, but in the main browser window it displays a short curved line and nothing else.
Duncan Booth wrote:
What may be more significant is that simply retrieving favicon.ico into IE displays garbage. I don't know why; IE seems perfectly capable of displaying it on the address bar or favourites, but in the main browser window it displays a short curved line and nothing else.
Is the method that's returning it setting the right content type?
cheers,
Chris
On 5/4/06, Chris Withers chris@simplistix.co.uk wrote:
Duncan Booth wrote:
What may be more significant is that simply retrieving favicon.ico into IE displays garbage. I don't know why; IE seems perfectly capable of displaying it on the address bar or favourites, but in the main browser window it displays a short curved line and nothing else.
Is the method that's returning it setting the right content type?
image/x-icon, is that correct?
-- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
Chris Withers wrote:
Duncan Booth wrote:
What may be more significant is that simply retrieving favicon.ico into IE displays garbage. I don't know why; IE seems perfectly capable of displaying it on the address bar or favourites, but in the main browser window it displays a short curved line and nothing else.
Is the method that's returning it setting the right content type?
I've tried 3 mime types:
application/octet_stream: The icon displays correctly in Firefox and incorrectly in IE, other favicon.ico files I've tried with this mime type display correctly in IE.
image/x-icon: The same incorrect display in IE and correct display in FF.
image/vnd.microsoft.icon: Still displays correctly in FF, but IE decides to dump it as characters instead of displaying a graphic at all.