Sun Sims Forums

Sun Sims Forums (http://www.sunsims.com/forums/index.php)
-   USL Features (http://www.sunsims.com/forums/forumdisplay.php?f=39)
-   -   Online Button Generator (http://www.sunsims.com/forums/showthread.php?t=366)

Greg 06-02-2007 11:28 PM

Online Button Generator
 
I want to write a program that will generate those ubiquitous 88x31 gif images that the Ultimate Sims List uses.

Miros1 06-02-2007 11:35 PM

Um, what are you using for source material?

I have a php scaling script somewhere on the other 'puter, if you're going to use their banner and just shrink to fit.

Greg 06-02-2007 11:47 PM

I was thinking that to make a button on line, someone would select from a predefined set of patterns and colors, enter some text, and what you see is what you get. The program would generate an image and it's up to you to save it or not.

Added: People wouldn't *have* to use the online button generator. I want this because a lot of webmasters seem to have difficulty making their own buttons, or understanding that 88x31 gif does NOT mean 126x105 bmp.

Miros1 06-02-2007 11:51 PM

Ah, that's pretty easy. Let me poke around a little...

Greg 06-02-2007 11:53 PM

Quote:

Originally Posted by Miros1 (Post 1981)
Ah, that's pretty easy. Let me poke around a little...

Great! The gizmo doesn't even need to be officially part of the Ultimate Sims List. It just needs to be available, and generate images that are exactly 88x31 in no other format than GIF.

Miros1 06-03-2007 01:05 AM

Could you check phpinfo and see if it has GIF-write capabilities? The patents are dead, but not all php installations are up to date.

Greg 06-03-2007 01:36 AM

Quote:

Originally Posted by Miros1 (Post 1985)
Could you check phpinfo and see if it has GIF-write capabilities? The patents are dead, but not all php installations are up to date.

Yup! "GIF Create Support - enabled" (That's under GD so I assume it's what we need here.)

Miros1 06-03-2007 02:18 AM

Cool! Let me poke around...


All times are GMT. The time now is 02:48 PM.

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.