We are currently creating our affiliate area and I wanted to make the graphics buttons logos and banners a tad more customized.
Years ago, there was a script, where you could enter text in input field and that text would appear on a graphic you could then share.
Buggered if I can remember what this kind of thing is called.. any ideas.
You have a base Image, user enters some text in input field. They click generate and the text appears on the image.
They can then download, or use img src code to share. I kind of dont want it where the img path becomes something like… myimage.png?text=hello+world but can cope if thats the case.
asp version: http://www.dotnetcurry.com/ShowArticle.aspx?ID=214
I am really after php version
i think this is what your looking for, http://php.net/manual/en/function.imagettftext.php
this might help you as well; http://www.daftlogic.com/projects-text-to-image.htm , http://terriswallow.com/weblog/2007/writing-text-to-images-with-php/
i think this is what your looking for, http://php.net/manual/en/function.imagettftext.php this might help you as well; http://www.daftlogic.com/projects-text-to-image.htm , http://terriswallow.com/weblog/2007/writing-text-to-images-with-php/
Hi Aaran thanks. Yeah I get the concept, just not how to add client side shiznit. Where they can enter text and it adds it to the image, have looked at TerriSwallows. Will look at the Daftlogic one. Cheers Mate ( oh and yer been reading thru php gd functionality )
well image will me make by php so when you post the form it will make a image tag with a url like this..
then the php script will have a
$_GET['text'] and then process what needs doing…
is that what you mean?
I suppose lol. But was trying to do it similar to the Einstein link above. So that the image gets stored on the server as a png file . So we dont need to share images like..
More like userpic_123.png and pref’ process and display the image using ajax
arr, ok… so i think http://www.php.net/manual/en/function.imagepng.php will help.. the 2nd variable saves it as a file
EDIT : arr, beat to it, but yh, its the same thing just different file format
Fancy knocking up a script and sending it to me. $30 innit for ya.
Last of the big spenders here. If not its cool, will muddle my way thru it.
Essentially, want to be able to add text to various image backgrounds, pre defined. Via same page. Happy to knock up a scribble if it helps.