Closed Thread Icon

Topic awaiting preservation: How to allow visitors to add text to an image (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8127" title="Pages that link to Topic awaiting preservation: How to allow visitors to add text to an image (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: How to allow visitors to add text to an image <span class="small">(Page 1 of 1)</span>\

 
a blind squirrel
Nervous Wreck (II) Inmate

From: Seattle, Washington, United States
Insane since: Feb 2002

posted posted 03-26-2002 17:12

Not sure if this is quite the right board to post this on, but...

I have a site (www.mohaamapguides.com) which is a fan site for the game Medal of Honor: Allied Assault. Basically, I have taken a bunch of screenshots of the multiplayer maps, onto which I have added location names using Fireworks and then posted the resulting images onto my site (for example, http://www.mohaamapguides.com/hunt_street.html).

What I would like to do is to allow my visitors to change any of the location names on a map so that they could print out a customized version. I have many visitors from Europe, so I'm sure they would appreciate the opportunity to have the map guides in their own languages.

So, my question is, how do I overlay editable text boxes over an image? Perhaps someone could point me towards the general way that I might do this and I can then research it further on my own.

Thanks in advance for any help!

http://www.smileycat.com

mobrul
Bipolar (III) Inmate

From:
Insane since: Aug 2000

posted posted 03-26-2002 19:22

Perhaps there is an easier way...
but this seems like a job for server side scripting of some sort...PHP or Java or the like.

Possibly you could have your users pick a map from your list of maps.
Then, you could have them enter the text into a field, the color of the text, even the position of the text. You could use Javascript to make this text entry as fancy as you'd like.
Pass all that information back to the server where your server language creates a new HTML page with your map and all the text as one image. I know PHP can dynamically create images and I'd guess Java and others can too.
InI would be one highly recommended resource for Java image creation...there are others too.

Good luck and come back to show us what you've done!

mobrul

a blind squirrel
Nervous Wreck (II) Inmate

From: Seattle, Washington, United States
Insane since: Feb 2002

posted posted 03-27-2002 02:02

Thanks for the help and the link! Now then, I don't suppose there are any expert PHP programers who are looking for a fun little project...?!

a blind squirrelhttp://www.smileycat.com

Lurch
Paranoid (IV) Inmate

From: Behind the Wheel
Insane since: Jan 2002

posted posted 03-27-2002 02:51

I've been working with PHP's image functions a lot lately but I'm having enough fun already, thanks Its not too difficult though, for someone with a bit of PHP experience... pretty amazing what you can do with it though!!

--Lurch--

« BackwardsOnwards »

Show Forum Drop Down Menu