Upload a image file to a rest service (Slim framework) (php)

IN PROGRESS
Bids
5
Avg Bid (EUR)
7 / hr
Project Budget (EUR)
€2 - €6 / hr

Project Description:
Hi all,
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,

Best regards,

Hours of work: 4 Project Duration: < 1 week Skills required:
Graphic Design, HTML, PHP, Website Design
Additional Files: UploadFile.zip Upload_a_image_file_to_rest_service.txt
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


€10 / hr
Hours: 10 hr/ week
Hire steven6
€6 / hr
Hours: 1 hr/ week
€6 / hr
Hours: 40 hr/ week
€6 / hr
Hours: 4 hr/ week
€6 / hr
Hours: 4 hr/ week