I saw a tut once on how to make the attached buttons... Anyone have any ideas?
I saw a tut once on how to make the attached buttons... Anyone have any ideas?
Well, there are online tools for this, such as: http://www.lucazappa.com/brilliantMaker/buttonImage.php And of course, yours truly: http://tools.dynamicdrive.com/button/
Ha it was your one I was after I knew I saw it somewhere... Um this thing rocks! How is it actually done? Does JavaScript make the image? I'm blown away!
No, PHP generates the image server-side. Javascript is only used for some of the interface.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Hi Twey... Can you point me to something I could read about this?
Take a look at this page for the image creation aspect of PHP.
http://us.php.net/manual/en/ref.image.php
Hope this helps.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
You can use the GD library to create images. This is complex, not too well documented and overall not exactly easy to use. It's cool, but not an easy project.
http://www.php.net/manual/en/ref.image.php
Start there. Be sure that the GD library is installed with PHP. Most of the time with newer packages, it is. (gd_info() can check.)
For a basic example using a png:
http://www.php.net/manual/en/function.imagepng.php
(look at the short codeblock example on the page.)
EDIT: looks like we posted at the same time, testingsite.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Bookmarks