Click to See Complete Forum and Search --> : Where can I get this script?


khalidwa
06-19-2006, 03:15 PM
Where can I get the script on this website...

http://tattoofonts.net/

I've searched and searched with no luck.

I cannot seem to extract the script from the site either.

Any help would be MUCH appreciated!

phpnovice
06-19-2006, 03:44 PM
Script to do what?

khalidwa
06-19-2006, 03:51 PM
Sorry, I should have explained a bit better.

I want to be able to upload fonts.

The user will be able to input text and see what it looks like in the fonts I have uploaded. The script will display the inputted text as an image.

The user will be able to alter the size of the text and download the image created by the script.

An example is the script on www.tattoofonts.net

phpnovice
06-19-2006, 03:53 PM
JavaScript cannot create images -- but, perhaps that was not your intent. Anytime you see a website that is generating images according to user specifications, such a web site is using server-side code to accomplish that task.

khalidwa
06-19-2006, 03:59 PM
I'm slightly confused by your reply.

Ok, so if javascript is not creating the images, what script is?

And what would be an appropriate search term I could input into google to find a script?

phpnovice
06-19-2006, 04:03 PM
PHP can create images on the server side.

JulianJ
06-19-2006, 04:04 PM
It is a server-side script named "img.php", see this line from the site you linked to:

document.getElementById('gd').src="img.php?font="+font+"&text="+txt+"&size="+px+"&color="+color;

Julian

khalidwa
06-19-2006, 04:05 PM
Ok, any ideas where I could get one from?

felgall
06-19-2006, 04:08 PM
Something server side would be creating it.

JulianJ
06-19-2006, 04:09 PM
Try google.com...

In the meantime,this might be of some help: http://www.alistapart.com/articles/dynatext

Julian

khalidwa
06-19-2006, 04:15 PM
Sorry for sounding stupid but what would I search for?

phpnovice
06-19-2006, 04:17 PM
Sorry for sounding stupid but what would I search for?
Creating Dynamic Images with PHP:

http://www.phpbuilder.com/columns/rasmus19990124.php3

khalidwa
06-19-2006, 04:38 PM
ive searched but with no luck.

anybody have any scripts they know of?

p.s. thanks for all replied so far.

phpnovice
06-19-2006, 04:45 PM
My last reply teaches you how to do it.

khalidwa
06-19-2006, 04:47 PM
sorry but im really looking for a script as i don't have time to learn as i don't have the time.

phpnovice
06-19-2006, 04:50 PM
I'm sure there is one available via Google -- but you'll have to pay for it.

khalidwa
06-19-2006, 04:53 PM
yes my question is do you know where? i cannot find one.

phpnovice
06-19-2006, 05:19 PM
eRez Imaging Server 3.2 (http://www.bestdownloads.be/shareware/showdownload.php?software=eRez+Imaging+Server)

or use these Google keywords:

php software "create dynamic images" -book -tutorial

poiuy
06-19-2006, 07:24 PM
Old school trick here :cool: --- Doesn't viewing the pages source give you a lot of what you need to figure out what to do as far as the javascript goes? Most or all of it is sitting right there in plain view in the source code.

How their making it a picture I'm not sure about (I'll have to check out other links supplied to figure that out)

phpnovice
06-19-2006, 07:37 PM
Doesn't viewing the pages source give you a lot of what you need to figure out what to do as far as the javascript goes?
Not in this case. :rolleyes: That is why the OP said they couldn't find the script in the source of the page. Since the work is being done by server-side code, there is no way to view this code in the client browser.

poiuy
06-19-2006, 08:25 PM
My bad :o Was bored and surfing and lost the original question in all the back and forth google stuff.

Splitting hairs here but isn't all the java script in there in the source that you need?

Looking at the links provided it should be somewhat simple enough to piece the two together to get what is being looked for. Don't use PHP much but it looks like everything is provided here (besides the free hand out).

Now you've peaked MY curiousity. I should be able to do this in ASP? I might have just thought up a good use for it.

phpnovice
06-19-2006, 08:37 PM
PHP has built-in functions for image manipulation. ASP doesn't have the equivalent. It could be done in ASP, but you would need an add-on module (can you say, "bucks"?) installed on the server to do it.

poiuy
06-19-2006, 09:33 PM
:eek: oh well scratch that idea. Wasn't that important anyway.