.ico file support?

pawmarks
pawmarks's picture

Joined: 2002-08-19
Posts: 19
Posted: Sun, 2002-12-29 14:35

Is there any workaround for hosting .ico images?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Mon, 2003-01-06 02:32

Hello. Provided your browser can display .ico images (I've never used them myself, so I don't know), then you can add "ico" to the acceptableImageList() function in util.php (somewhere near line 250). Obviously, if the browser won't display them, then you'll need to convert them to a gif or png or something beforehand.

-Beckett (

)

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Mon, 2003-01-06 13:24

Plus, can ImageMagick/NetPBM handle .ico files?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Mon, 2003-01-06 18:00

Actually... apparently it does :smile:

winicontppm and ppmtowinicon are included in a standard NetPBM install. Do these sound like what you'd want? You'd need to edit the code to use these programs instead of the jpeg/png/gif programs, but this should only require a little bit of searching.

-Beckett (

)