View Full Version : Can some one do this for me?
Well i recently discoverd [as most people probly have too] that if you fill in certain spots in this
voltertxtgen/text.php?t=TEXT&s=SIZE&w=BORDER
I was wondering if there's some code that will let a person type in something and that would replace TEXT and then choose size and it would replace SIZE and so on.... can some one code that for me? Thanks in advance
I'm pretty sure there is a code out there, just do some research and I'm sure you will find it pretty quickly.
Calvin
04-04-2011, 07:41 PM
Look into PHP GD (http://php.net/manual/en/book.image.php).
http://www.php.net/manual/en/function.imagefttext.php
Im not sure what you mean?
Dentafrice
05-04-2011, 09:53 PM
It wouldn't be free, but I could code you up a solution for some $$.
xD i got about a dolor or two in my paypal
Recursion
06-04-2011, 12:00 PM
xD i got about a dolor or two in my paypal
I doubt he'd would do it for a dollar or two, he's pro.
Source
06-04-2011, 03:00 PM
It's like a 5 minute javascript jobby? Less than that most likely.
All they are wanting is a script that generates a URL to the already made PHP GD Voltar font generator. Basically a text field for text and a drop down for size, then generate the link....
and goes to fetch the image xD
Dentafrice
06-04-2011, 08:06 PM
Haven't played with it in awhile.. just typed this up in the box.. if you have Scriptaculous / Prototype or however jQuery does it... this should just show you how it could be done..
<script type="text/javascript">
function generateUrl() {
var text = $('text').value;
var index = $('size').selectedIndex;
var size = $('size').options[index].value;
var url = "http://google.com/volter.php?text=" + text + "&size=" + size;
$('image').src = url;
}
</script>
<img src="http://google.com/volter.php?text=demo&size=small" alt="Image" id="image" />
<form name="generate">
<input type="text" name="text" id="text" />
<select id="size" name="size">
<option value="large">Large</option>
</select>
<input type="button" onClick="javascript:generateUrl(); return false;" />
</form>
zCode
16-04-2011, 02:51 AM
Nice job with the script dude!
Dentafrice
16-04-2011, 04:02 AM
Kid, the font thing is getting old.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.