Closed Thread Icon

Topic awaiting preservation: php image manipulation, based on a form (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12703" title="Pages that link to Topic awaiting preservation: php image manipulation, based on a form (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: php image manipulation, based on a form <span class="small">(Page 1 of 1)</span>\

 
zoe
Neurotic (0) Inmate
Newly admitted

From: Louisiana
Insane since: Apr 2003

posted posted 04-27-2003 22:49

basically i had the idea for a script where users can enter their name and zip code in a form and then it would be appended to a database and, from there, a script would draw the information from the database and place an image (like a dot) over a map of the united states (appropriate to the zip code they entered). but i am stuck where it comes to placing the dot over the image (either directly editing the image with the script or having it assign a layer).

for example, Joe enters his zip code as 12345. the script logs his name and his zip code. then a user requests to view the map. the script pull joe from the database, looks up where 12345 is, and places it somewhere over new york state, where the area code 12345 actually exists ( and it does, too ). now we have a dot representing Joe.

for extra effect i might try to have a mouseover where you can see the name of the person living in that zipcode - but that i can handle on my own. my problem, just to be clear, is how to automate the image editing and dot assigning, basically every aspect of it. if you have ANY ideas you can forward to me, PLEASE feel free to post.

-Zoe-

Veneficuz
Paranoid (IV) Inmate

From: A graveyard of dreams
Insane since: Mar 2001

posted posted 04-28-2003 00:47

This thread might be of some interrest...

[edit] Almost forgot. Welcome to our looney bin, please take a look around the Reception Room while the nurses finds you a straight jacket
_________________________
"There are 10 kinds of people; those who know binary, those who don't and those who start counting at zero"

[This message has been edited by Veneficuz (edited 04-28-2003).]

brucew
Paranoid (IV) Inmate

From: North Coast of America
Insane since: Dec 2001

posted posted 04-28-2003 01:08

Veering off topic...

quote:
somewhere over new york state, where the area code 12345 actually exists

Somewhere near Schenectady as I recall. But the real questions are, is 123 Any Street really located there and if so, do John and Jane Doe live there?

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 04-28-2003 17:35

easiest method is probably to create a floating div right where the dot's supposed to be and not mess with the map at all...

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 04-28-2003 17:40

zoe: You mean like:
http://development.gurusnetwork.com/locator/

Basically the storing of the data, etc. isn't the problem but you need to consider what front end you are going to use - we use Flash at the GN but the Asylum locator uses database driven DHTML. You might want to decide on the front end before you invest too much time in the backend

[edit: Crumbs it has been so long sicne I looked at the Asylum locator I had to hunt the address - view it here:
www.maxworld.co.yu/ozone/locator/

come back mr.maZ ]

___________________
Emps

FAQs: Emperor

« BackwardsOnwards »

Show Forum Drop Down Menu