Connecting Tech Pros Worldwide Forums | Help | Site Map

Creating pics on the web

rb
Guest
 
Posts: n/a
#1: Jun 29 '06
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




Andy Hassall
Guest
 
Posts: n/a
#2: Jun 29 '06

re: Creating pics on the web


On Thu, 29 Jun 2006 15:56:16 +0200, "rb" <me@u.com> wrote:
[color=blue]
>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.[/color]

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
rb
Guest
 
Posts: n/a
#3: Jun 30 '06

re: Creating pics on the web


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" <andy@andyh.co.uk> wrote in message
news:trh8a2ljlgdul9kdq90d0t577tacstvttu@4ax.com...[color=blue]
> On Thu, 29 Jun 2006 15:56:16 +0200, "rb" <me@u.com> wrote:
>[color=green]
> >i am developing a claims input form. part of this form, the original[/color][/color]
paper[color=blue][color=green]
> >version, was to draw a brief picture of the accident.
> >Is there anyway in PHP, or other addied controld to achieve the same[/color][/color]
result.[color=blue]
>
> You could probably do it in just PHP and HTML with image maps and using[/color]
the GD[color=blue]
> library to draw predefined shapes in response to clicks, but it'd be[/color]
pretty[color=blue]
> slow and need loads of server round trips.
>
> Presumably you'd have some sort of template shapes like cars and[/color]
lampposts;[color=blue]
> the average user isn't going to be much good at drawing a picture with a[/color]
mouse.[color=blue]
>
> Next level up could be using Javascript to drag and drop elements around[/color]
on[color=blue]
> the page, which reduces server round trips but complicates it[/color]
considerably.[color=blue]
>
> Then there could be Flash or Java applet implementations; I don't know[/color]
any[color=blue]
> 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[/color]


Closed Thread