Upload a image file to a rest service (Slim framework) (php)
- Status Completed
- Budget €2 - €6 EUR / hour
- Total Bids 5
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,Get free quotes for a project like this
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online