scottcheng / cropit

A "customizable crop and zoom" jQuery plugin.
http://scottcheng.github.io/cropit/
MIT License
874 stars 305 forks source link

How to get the image name #202

Closed rvernon9 closed 8 years ago

rvernon9 commented 8 years ago

I have the code working and submitting the cropped image to the server via an ajax post. The last bit I'm trying to figure out is... how to get the image name?

Example -- if the user chooses an image named "myimage.jpg", I would like to save the newly cropped image as "myimage.jpg". I assume there is a way to do this but I can't seem to figure it out. Thanks in advance.