FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


How do you go about making something like this





The-Master
http://www.hetemeel.com/unclesamform.php. I found this really cool but I don't want an exact copy, I want an image with text over it from a random array of text strings.

I would also really like to know how this worked, as it just types whatever is after the url in the image. Like this:

http://www.hetemeel.com/unclesamshow.php?text=Anything+Here+Is+Typed+On+The+Image
ninjakannon
Hey, I can't see those because hotlinking is disabled on http://www.hetemeel.com. You need to post another link to them. Surprised
Philip
we need the page for see the images, not the linking images i think.
hexkid
The-Master wrote:
I would also really like to know how this worked, as it just types whatever is after the url in the image.


The image chapter on the PHP manual has all the functions you need to do that.

It could be something like
Code:
// pseudo code
open_template_image; // imagecreatefrom*()
make_calculations;
write_text; // imagettftext()
output_image; // imagepng(); imagejpeg();
PatTheGreat42
Having it type whatever you put in the URL like that is a simple matter, once you get the pasting-text-on-picture bit done (Another surprisingly simple task). It's just a $_GET tag. So your example up there would be $_GET['text'] and it would output "Anything+Here+Is+Typed+On+The+Image." Good times, really.
ninjakannon
Yes, PatTheGreat42. That's the easy bit. But The-Master is asking how that text would then be typed onto the image.
Related topics
10 rules of india film making
Want to start making games?
Making Website in Photoshop
ATI 9600xt AIW Making lots of noise
Making your own web browser
need advice on making wed site
Earn Money by Making Graphics
A great composing/notes printing/MIDI making program!
Making VCDs in NERO
Making a homepage?!
Are you making/trying to make money out of your website?
Maybe a money making bit...
Making your own games
Game making - anyone interested?
Making Money
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.