[horde] new icons
Jan Schneider
jan at horde.org
Wed Sep 29 07:31:06 PDT 2004
Zitat von Daniel Vandal <dvandal at infoteck.qc.ca>:
> Hi,
>
> I'm not sure if this would work, but this is my idea about this problem :
>
>>> I really want to use PNG:s instead of GIF:s. Do I have to hack Horde and
>>> the other applications and replace foo.gif with foo.png?
>
>> Ah, I didn't think of that. This is getting hairy. Does anyone has a nice
>> idea how to handle this?
>
> Idea : Modify the Horde::img() function to auto-detect (using something like
> the PHP "file_exists()" function) the file extension when none is specified.
> But, if you put the extension, he will directly use the specified file (The
> function would act exactly like now).
No way. That would require file checks for every image on a page.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list