Search code examples
jqueryfile-uploadexifjquery-file-uploadblueimp

May I use jQuery-File-Upload to extract exif data after fileupload?


I know there is a solution out there to do that using other library and to do it before upload. But the question is if this functionality is already in jQuery-File-Upload and if yes how can I use it after the image is successfully uploaded. I tried to dig through the source code of jQuery-File-Upload but, honestly, it's a very hard for a JS beginner like me.


Solution

  • I have figured this out myself.

    Use processdone callback and access exif object of data, e.g.:

        processdone(e, data) {
          data.exif
        }