[release] Aqua Button Script

Another simple PHP-GD2 thing; this one, obviously, draws a white or blue aqua button with text. You'll need to have the FreeType library installed.

[demo]

[download] - I'd appreciate if someone could mirror this, I don't have a whole lotta bandwidth..

#167071

Nice :woot:

#167079

I am getting a eorror saying:

Originally posted by http://www.mm3d.wired-hub.net/dynAvs/...d=n&text=Button

The image “http://www.mm3d.wired-hub.net/dynAvs/aquaB...=n&text=Button” cannot be displayed, because it contains errors.

Any ideas? I am using FireFox

#169096

I get the same error.

In IE6 it says:

Fatal error:  Unknown function:  imagettfbbox() in /home/mahalis/public_html/dynAvs/aquaBtn/aqbtn.php on line 27

#169099

Originally posted by pantoni@May 29 2004, 09:29 AM

I get the same error.

In IE6 it says:

Looks like the GD library isn't working properly there. Either that or the freetype library. It could be mahalis's server acting up. We'll have to wait for him to come back

#169106

Ok I think it is something in the script, I have uploaded to my own webspace AND on my Localhost apache server with no luck =\

#169123

Did you copy the Lucida Grande font into the same directory, and are GD2 and Freetype enabled?

Looks like the GD library isn't working properly there. Either that or the freetype library. It could be mahalis's server acting up.

Yeah, looks like the host hadn't installed Freetype :canadian:

I'll talk to their support people.

Any ideas? I am using FireFox

Most likely that's Firefox's way of displaying the same error everyone's getting in IE. Sorry about that, I'll see if I can get them to fix it quickly. :)

#169166

Any one have a demo up?

#173657

It's workin' fine for me...

#173742