Creating pics on the web

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rb

    Creating pics on the web

    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

    #2
    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.u k :: http://www.andyh.co.uk
    http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

    Comment

    • rb

      #3
      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:trh8a2ljlg dul9kdq90d0t577 tacstvttu@4ax.c om...[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.u k :: http://www.andyh.co.uk
      > http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool[/color]


      Comment

      Working...