You have chosen to sponsor your bid up to a maximum amount of .
i need to upload image files with input type file to a Rest Service using jQuery and Ajax.
Rest Service is made with Slim Framework. It receives the data in json format.
Image file is in a Form, with a input type file. It can be another solution different than input file.
I want to show a thumbnail of the image selected, below the button to load image.
I got to post the form fields to the service, but i can not serialize the image file to send to the service. I think i have to search an alternative solution, like posting to a hidden iFrame.
In the attached document there are several links with more information.
Attached also a sample code
I want a profesional and elegant solution,