Page 1 of 1

Some kind of text merging with an image code?

Posted: Sat Dec 13, 2008 6:12 pm
by Seif
I'm pretty sure it's doable with PHP. Basically, I want a code that inserts the text you want in a small size inside the box of the image.
So for example, I want this image:
Image
to be the background. And I want the text to be "Vehicle Stats Display". Then you press a button after entering the text you want and it makes:
Image
Any help is appreciated.

And no, I barely know any PHP. I know the very basic of it.

Re: Some kind of text merging with an image code?

Posted: Sat Dec 13, 2008 6:22 pm
by Chris Corbyn
Learn some basic PHP, then checkout the GD functions in the manual:

http://www.php.net/gd

Re: Some kind of text merging with an image code?

Posted: Sat Dec 13, 2008 6:40 pm
by Seif
That's gonna take a while, that's why I'm asking for a code here.

Re: Some kind of text merging with an image code?

Posted: Sat Dec 13, 2008 9:54 pm
by Chris Corbyn
Right.

Re: Some kind of text merging with an image code?

Posted: Sun Dec 14, 2008 12:55 am
by toasty2
We don't write code, we help with it. The PHP manual is extremely helpful compared to those for some other languages, so use it. It's for your own benefit.

Re: Some kind of text merging with an image code?

Posted: Sun Dec 14, 2008 9:35 am
by Seif
Manual is something that takes days to learn from it.
Can I at least have a start? I just downloaded PHP now. Got no clue where to start to do this.

Re: Some kind of text merging with an image code?

Posted: Mon Dec 15, 2008 2:29 pm
by cavemaneca
How about using this tutorial? Then look up what he told you. It will be easier for yourself just to learn it now and work on it. Once you've done that and if you still have questions, come back here. Besides the fact that we don't want to do all of your work for you, what if someone put malicious code into a script for you and pm'd it to you? None of us could tell that there was a problem, and since you didn't know php you would use it without knowing as well. The page could even work properly how you want it to, but be sending your passwords or financial info or whatever you don't want them getting to the person who wrote it. So for better security, quicker responses, and pretty much less headaches for everyone, please just learn php yourself or pay someone money to do it.