Jump to content

Is this PHP or something else?


ImJustBrndn

Recommended Posts

The image at http://joekral.needshelp.org/gauge/30000/18012

can be displayed with a filling bar, if you change the last set of number it automatically fills in the bar.

Example:

[img]http://joekral.needshelp.org/gauge/30000/18012[/img]

[img]http://joekral.needshelp.org/gauge/30000/25000[/img]

If this is PHP could someone maybe point me in the right direction to do this.

B
Link to comment
https://forums.phpfreaks.com/topic/18131-is-this-php-or-something-else/
Share on other sites

I imagine there are three images for the fill bar:
* The left hand side right part to fit the curve.
* A 1px wide red strip that is stretched across.
* The right hand red curve that is drawn at the end of the fill bar.

It wouldn't be too hard to see this implemented in PHP with GD, yup.
Thanks a lot guys, after going through about 30 pages of searchs on the site I found this other post that no one ever responded too.

http://www.phpfreaks.com/forums/index.php/topic,102840.0.html

It has a complete script in it from another site that shows you how to do an image just like this. The image it has in it is

[img]http://www.entropyfarm.org/software/thermo/thermo.php?max=3000&current=1200[/img]

So if anyone is interested there you go, thanks for the extensive help everyone.

B

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.