[Xymon] use png's instead of gif's

Josh Luthman josh at imaginenetworksllc.com
Mon Nov 25 06:36:07 CET 2013


The browser reads the file.  Only Windows executes based on file name.

Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
On Nov 25, 2013 12:34 AM, "Jeremy Laidman" <jlaidman at rebel-it.com.au> wrote:

> On 25 November 2013 07:21, Kris Springer <kspringer at innovateteam.com>wrote:
>
>> I create my own icons for xymon, but I'd like to use png files instead of
>> gif's.  What config file are those specified in?  I can easily overwrite
>> the old icons with my new icons if I leave everything as gif's, but I'd
>> like to make them png's instead.  Where do I set that?
>>
>
> Kris, this is hard-coded in Xymon.  The function dotgiffilename() in
> lib/color.c appends ".gif" to the color name when generating webpages.  You
> could change the source code and re-compile.  But suspect that if you
> simply rename your PNG files to have a .gif extension, then they'll be
> recognised by the browser, and displayed correctly anyway.
>
> Cheers
> Jeremy
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131125/6b1e042c/attachment.html>


More information about the Xymon mailing list