How to save image area(x and y cordinate) from the current webpage to server?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phparjun
    New Member
    • Jul 2010
    • 3

    #1

    How to save image area(x and y cordinate) from the current webpage to server?

    Hello Everyone,

    I am fresh to the JavaScript and AJAX and I have to copy and save a selected area from a .php or .html as an image file from a table <td> in the my current webpage and have to copy and save a table data or image in table data so that It can be available as saved image for future reference.

    Please help.
  • RamananKalirajan
    Contributor
    • Mar 2008
    • 608

    #2
    Hi,
    Whether you want to save the Image or Image's X and Y Coordinate?

    Thanks and Regards
    Ramanan Kalirajan

    Comment

    • gits
      Recognized Expert Moderator Expert
      • May 2007
      • 5390

      #3
      so you want to take a screenshot of your webpage? or do i miss the point? ... is this for the client-side or would you need it just for yourself - so that the screenshot could be made serverside?

      Comment

      • phparjun
        New Member
        • Jul 2010
        • 3

        #4
        Basically I am working on a PHP project in which client have a div area which works as a bucket to collect items that customer wants to purchase and item kept in this div(bucket) will be visible to customer and I need to take a snap-shot of this div(bucket). I have done it in PHP but code will only work in windows environment not in Linux or Mac if I would use javaScript than ActiveX control may be or may not be supported by client browser. Something similer with the JavaApplet

        Do I have any other options?

        Please suggest me....

        Comment

        • phparjun
          New Member
          • Jul 2010
          • 3

          #5
          Yes screenshot of selected region of my webpage will work for me..

          Comment

          • gits
            Recognized Expert Moderator Expert
            • May 2007
            • 5390

            #6
            huh? you want to transfer list-data as an image? why that? why not just take the list and save that to a database?

            besides that ... a mozilla-working solution for a clientside screenshot could be found here ... but a real cross-browser solution is impossible with javascript.

            Comment

            Working...