0

I have this code:

<form method="post" action="postoffer.php" enctype="multipart/form-data" data-ajax="false">

                    <label for="image">Select Image: </label>
                    <input type="file"  name="image" accept="image/*"capture>

                    <input type="submit" value="Send!" name="send">
</form>

I need to crop the image uploaded before passing it to "postoffer.php".

I don't need to show the user it has been cropped. I just want to crop say 20% top and bottom for example.

Is there a javascript way to accomplish this?

Thanks!

Federico Capello
  • 1,088
  • 3
  • 12
  • 21

0 Answers0