Xymon Mailing List Archive search

use png's instead of gif's

list Josh Luthman
Mon, 25 Nov 2013 00:36:07 -0500
Message-Id: <user-19404674be3f@xymon.invalid>

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

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Nov 25, 2013 12:34 AM, "Jeremy Laidman" <user-71895fb2e44c@xymon.invalid> wrote:
On 25 November 2013 07:21, Kris Springer <user-c2caa0a7a8d5@xymon.invalid>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