Photo Cropping Tool Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mcfly1204
    New Member
    • Jul 2007
    • 233

    Photo Cropping Tool Question

    I have a photo cropping tool in place that fits my needs, with one exception. When a user uploads a high res. photo, it does not fit on the screen. I have a zoom feature that allows the image to fit on the screen, but then the user is cropping the downsized image and not the original. I would like to find a way to have the cropped area on the original image correspond with the cropped area on the zoomed image. Any thoughts?

    I have implemented jcrop for the client side portion.

  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    It sounds like you're going to have to pass the zoom information to the server to indicate how far the user has zoomed in (and where) before your server code crops the image.

    You could use Ajax to indicate how far in the user has zoomed (after they have finished zooming).

    Or if you don't want to constantly be making requests to your server, you could store this information into HiddenFields so that they are accessible to the server when they hit the "crop" button.

    -Frinny

    Comment

    • mcfly1204
      New Member
      • Jul 2007
      • 233

      #3
      Found this information which is exactly what I was looking for. I appreciate the response above nonetheless.

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        There's a cropping project on Codeplex too.
        It looks like you're staying away from the .NET Ajax Framework so I didn't mention it earlier.

        :)

        -Frinny

        Comment

        Working...