PDA

View Full Version : Creating Images via


ilya
02-08-2000, 01:34 AM
Can someone tell me how to create images via CGI?
I want to be able to use <img src=&quot;script.cgi&quot;> to display images. I've been able to do it if I want only one image, but what if I need to display two? I mean, let's say I want to make a counter script. I'd like to dislpay a number of visitors using <img src=&quot;&quot;>.
Can someone help me?
I know it's possible to do using GD module, but i don't know how :)
ANy help would be greately appreciated!
------------------
Thanks for reading.
Webmaster of ScriptBox.NET Forums (http://www.scriptbox.net).
Webmaster of Ubb Code Hackers Hideout (http://www.ubbcodehacking.com)

Justin
02-08-2000, 03:30 AM
You would have to use a library (GD perhaps) to combine the two images into one - unless you know how to manipulate GIF images raw (which would be a *lot* more difficult than learning the GD library and letting it do the work)...

Hope this helps.

Oh - PHP makes this a lot easier though - see http://www.PHP.Net/, click &quot;Documentation&quot;, then &quot;Image Functions&quot;.

------------------
Justin Nelson
FutureQuest (http://www.FutureQuest.net/index.php) Support