By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,587 Members | 1,047 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,587 IT Pros & Developers. It's quick & easy.

Creating pics on the web

P: n/a
rb
Hi all,

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.

Thanks
Robert

Jun 29 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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 :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Jun 29 '06 #2

P: n/a
rb
HI,
Thanks ANdy,
Yes I will problably need to have some sort of template icons to drag, to
cut down on the articic time needed to do this thing.
I will search for some java or Flash implimentations,

Thanks
Robert

"Andy Hassall" <an**@andyh.co.uk> wrote in message
news:tr********************************@4ax.com...
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 paperversion, 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 :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

Jun 30 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.