Small Uploader

This demo allows uploading .jpg, .jpeg, .png and .gif files which are less than 500KB. It also shows an error if you try to upload a .pdf file.

Overview

Small Uploader is a PHP script which allows uploading multiple files WITHOUT using Flash. This file uploader uses AJAX and will not force the page to reload. The feedback about uploading files are given through it's well designed user interface. This script is perfect for uploading small files.

Code For This Demo

$(window).ready(function(){
  $(".smalluploader").SmallFileUploader({
    maxAllowedFiles: 3,
    maxFileSize: 1024 * 500,
    allowedTypes: ["jpeg", "jpg", "png", "gif", "pdf"]
  });
});
<div class="smalluploader">
  <div class="dragspace hidden">
    <p class="zonemessage">Drag your files in here</p>
    <p class="message">unlimited number of files allowed </p>
  </div>
  <div class="buttons">
    <a class="addbutton greenbutton hidden">
      Add File
      <form enctype="multipart/form-data" method="post" action="projects/smalluploader/ajaxuploader.php"> 
        <input type="file" name="filedata"/>
      </form>
    </a>
  </div>
  <div class="uploadspace hidden"></div>
  <div class="buttons">
    <a class="startbutton redbutton hidden">Upload Files</a>
    <a class="clearbutton redbutton hidden">Clear Queue</a>
  </div>
</div>

Other Scripts