borobdin
(?)Community Member
- Posted: Sat, 27 Nov 2004 23:10:23 +0000
Making the Most of Your SIG
Using PHP to Generate a Server Side Image Map
Why make a PHP imagemap for your sig?
Gaia has a 255 character limit for signatures (minus URL characters, more info here). Thus, there is not enough room for a very well designed image based sig that then has several links. When you toss in a wishlist, a few more links, and a few more graphical things, you simply run out of space. Thus the creation of this pair of scripts. (note: your sig must all fit within a 500x500 pixel box and be under 100kb total. See Sky Render's tutorial for more help.)
Standard HTML based image maps do not work on Gaia. Many HTML tags are disabled including the ones necessary for imagemapping, I believe. Also, if they did work, there is only an extremely small chance that you will be able to fit one under the signature character limit.
Table of contents:
Post 2 - Requirements
Post 3 - Walkthrough (read this if nothing else)
Post 4 - Example
Post 5 - Extras (non-rectangle shapes by Foolish, alternate methods)
Post 6 - FAQs
Post 7 - Advanced box
Special thanks to:
Jakobo
Aldo
Foolish
Using PHP to Generate a Server Side Image Map
Why make a PHP imagemap for your sig?
Gaia has a 255 character limit for signatures (minus URL characters, more info here). Thus, there is not enough room for a very well designed image based sig that then has several links. When you toss in a wishlist, a few more links, and a few more graphical things, you simply run out of space. Thus the creation of this pair of scripts. (note: your sig must all fit within a 500x500 pixel box and be under 100kb total. See Sky Render's tutorial for more help.)
Standard HTML based image maps do not work on Gaia. Many HTML tags are disabled including the ones necessary for imagemapping, I believe. Also, if they did work, there is only an extremely small chance that you will be able to fit one under the signature character limit.
Table of contents:
Post 2 - Requirements
Post 3 - Walkthrough (read this if nothing else)
Post 4 - Example
Post 5 - Extras (non-rectangle shapes by Foolish, alternate methods)
Post 6 - FAQs
Post 7 - Advanced box
Jakobo
Mandatory Disclaimer of DOOM: I don't promise anything with these. I do place them under the Creative Commons License (Not GPL or Similar). Before you ask, I wanted to give CC a fair shake, and show that it can be used for certain applications of code and development. Please, if you develop or do more cool stuff with this foundation, put it up here so others can enjoy it too! I am also not responsible if you do something stupid and wipe out your web server. This also only extends my region class into Rect. Eventually, I will add Circle, and I would love to add Poly so that this functions exactly like a Server Side Image Map. Alas, that all takes time, and I only can sit here and bang on keys so many hours a day. ^_^
Disclaimer
Yes, I have permission from Jakobo to do this. Here's the story.
Jakobo created the original code and thread for imagemaps. You can find it here.
Due to his being a mod and then an admin, he's been too busy to ever update the thread. The thread was perfectly good and all, however as many regulars of the thread probably also realized, there were a few FAQs and common problems that could be addressed in the tutorial instead of repeatedly each time a user's map didn't work.
A few days before the creation of this thread, hostinganime.com went down. Many people host their files on it causing many imagemaps to stop working. I found some more hosts and PMed those and some other info to Jakobo so he could add them to the thread. Instead of adding them, he asked me to make this and here we are.
Jakobo created the original code and thread for imagemaps. You can find it here.
Due to his being a mod and then an admin, he's been too busy to ever update the thread. The thread was perfectly good and all, however as many regulars of the thread probably also realized, there were a few FAQs and common problems that could be addressed in the tutorial instead of repeatedly each time a user's map didn't work.
A few days before the creation of this thread, hostinganime.com went down. Many people host their files on it causing many imagemaps to stop working. I found some more hosts and PMed those and some other info to Jakobo so he could add them to the thread. Instead of adding them, he asked me to make this and here we are.
Special thanks to:
Jakobo
Aldo
Foolish