Web Hosting Talk







View Full Version : Image Marking Script


seodevhead
12-10-2005, 08:06 PM
Hey guys, I have a very popular paintball website where users can post what's called 'paintball reports'. They type-in which state and location they had a game at and they give details on the game, results, etc. I want to provide aerial images (which I already have) of the popular paintball outdoor courses and allow the visitor to click on the aerial image of their course and add little 'markers' showing where "kills" were made during the game.

Does anyone know how this can be done? The paintball reports system is in php/mysql. I just have no idea how I would go about making something like this interactive. Any advice would be greatly appreciated!!! Take care.

alx77
12-11-2005, 07:10 AM
One of possible solutions is to use your aerial image as a button. In this case your script will get x and y coordinates. Then you can use these coordinates to change your original image with, say, ImageMagick, or to use the unmodified image as a table cell background and position your marker images within this cell.