PHP Classes

Upload images using AJAX: Trying to upload avatar file

Recommend this page to a friend!
  All requests RSS feed  >  Upload images using AJAX  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Upload images using AJAX

Edit

Picture of Marc Covert by Marc Covert - 8 years ago (2016-02-27)

Trying to upload avatar file

This request is clear and relevant.
This request is not clear or is not relevant.

+6

I am trying to upload avatar file using AJAX.

Ask clarification

3 Recommendations

File Upload With AJAX: Handle file uploads and returns JSON response

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Bharat Parmar by Bharat Parmar package author package author Reputation 410 - 8 years ago (2016-04-11) Comment

This class will upload the any image file with ajax on selection of the file.


PHP Multi File Uploader: Validate and process one or more file uploads

This recommendation solves the problem.
This recommendation does not solve the problem.

-2

Picture of MOUSTAFA ELGAMMAL by MOUSTAFA ELGAMMAL package author package author Reputation 185 - 8 years ago (2016-02-29) Comment

but not ajax

  • 6 Comments
  • 1. Picture of Dave Smith by Dave Smith - 8 years ago (2016-02-29) Reply

    While it is great to take pride in your own package, this one does not address the primary requirement that it be through ajax.

  • 2. Picture of MOUSTAFA ELGAMMAL by MOUSTAFA ELGAMMAL package author package author - 8 years ago (2016-02-29) in reply to comment 1 by Dave Smith Reply

    thanks about your opinion, but you are not the one who set the primary requirements.

  • 3. Picture of Manuel Lemos by Manuel Lemos - 8 years ago (2016-02-29) Reply

    Your class is fine for handling uploads, and it seems Marc wants a package that does that, as well does the browser side part using AJAX to submit the image without reloading the page.

  • 4. Picture of MOUSTAFA ELGAMMAL by MOUSTAFA ELGAMMAL package author package author - 8 years ago (2016-03-01) in reply to comment 3 by Manuel Lemos Reply

    ok, I understand now.

  • 5. Picture of Manuel Lemos by Manuel Lemos - 8 years ago (2016-03-01) in reply to comment 4 by MOUSTAFA ELGAMMAL Reply

    If you add the AJAX JavaScript code generation to your class so it can do the whole work, we can revert the vote and recommend your class too.

  • 6. Picture of Haseeb Ahmad Basil by Haseeb Ahmad Basil - 8 years ago (2016-03-09) Reply

    Not what is requested


PHP Upload Multiple Images Ajax: Process uploaded images sent via AJAX requests

This recommendation solves the problem.
This recommendation does not solve the problem.

+5

Picture of Manuel Lemos by Manuel Lemos Reputation 23960 - 8 years ago (2016-02-28) Comment

This class is very good for that purpose. It uses a jQuery plugin that not only can take care of the image file upload via AJAX, but it also shows a preview of the image to be uploaded.

It also supports multiple file uploads in case you need them.


Recommend package
: 
: