|
Posted by Andy Hassall on 06/29/06 21:38
On Thu, 29 Jun 2006 15:56:16 +0200, "rb" <me@u.com> wrote:
>i am developing a claims input form. part of this form, the original paper
>version, was to draw a brief picture of the accident.
>Is there anyway in PHP, or other addied controld to achieve the same result.
You could probably do it in just PHP and HTML with image maps and using the GD
library to draw predefined shapes in response to clicks, but it'd be pretty
slow and need loads of server round trips.
Presumably you'd have some sort of template shapes like cars and lampposts;
the average user isn't going to be much good at drawing a picture with a mouse.
Next level up could be using Javascript to drag and drop elements around on
the page, which reduces server round trips but complicates it considerably.
Then there could be Flash or Java applet implementations; I don't know any
ready-made ones that might be suitable.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|