Need a bit more help please…
I need to display 24 times :
or
or
(depending on speed/duplex on the port)
But those images have to be displayed in the switch’s image : 
How to do to get all images well formated ??
To know which color to choose, I wrote a perl script using Net::SNMP to get infos about speed, duplex…
Thanks guys.
Bye
Hm. Actually, I’d be more tempted to take the images and use CSS styles to color them.
For example, if you took one of those and turned the colored areas transparent, you could place them using CSS, and change the background color, either with generated Perl or with JavaScript on the fly.
It gets a little complex, admittedly; you’ll have to create 26 styles (one for each switch), placing them appropriately. You’ll need two images (right-side up and upside-down). You’d also have
and so on. But then it’s just a matter of adding the appropriate class to the appropriate div; no need to load six different image variants (just two), and you gain the ability to adjust the colors to be anything you want with just a change to the CSS, and do so dynamically if you like.
Does that make any sense?