Responsive Drag and Drop File Uploader/Download Plugin | 5x5_jq_uploader

5x5_jq_uploader plugin can be used to instantly create a drop file area and file queue with a little bit of preparation. Bootstrap is used for responsive planning and alerts.

5x5jqpi.js is an advanced drag-and-drop file uploader built on the jQuery and Bootstrap frameworks.

Features:

  • Choose files by dragging and dropping.
  • Select multiple files simultaneously.
  • Add custom file descriptions.
  • Custom file type.
  • Limit files and size.
  • Feedback on the error.

Must Read: Vuetify Drag And Drop Draggable Tree View Component | v-treeview

5x5_jq_uploader Details

Post NameDrag Drop File 5×5 jq Uploader
Author Namecesperian
CategoryDraggable, SCSS
Official PageClick Here
Official Websitegithub.com
Publish DateMay 18, 2021
Last UpdateAugust 10, 2023
DownloadLink Below
LicenseMIT

How to make use of it:

1. Load the wanted jQuery and Bootstrap framework within the document.

<link rel="stylesheet" href="/path/to/cdn/bootstrap.min.css" />
<script src="/path/to/cdn/jquery.min.js"></script>
<script src="/path/to/cdn/bootstrap.min.js"></script>

2. Create an empty container for the file uploader.

<div id="uploader"></div>

3. Download the plugin and insert the 5x5jqpi.min.js after jQuery.

<script src="./dist/5x5jqpi.min.js"></script>

4. Initialize the file uploader and decide the destination to which the files must be sent.

$("#uploader").initUploader({
  destination:'/path/to/server/',
  destinationParams: {
    // uploader parameters here
  }
});

Options

Options that can be specified when initializing the uploader:

Must Read: Advanced Drag and Drop File Picker for Uploader | jquery-formhelper

NameTypeDefaultDescription
destinationstringnullKey/value pairs that can be used for creating a query string on upload
destinationParamsobjectnullA callback for when an upload has been completed successfully
sizeLimitinteger1Limit of individual file sizes, in MB
fileLimitinteger5A callback for when an upload has completed successfully
selectOptsobjectnullLimit of the total number of files that can be queued for upload
showDescriptionbooleanfalseIf true will render a text input for each file queued for upload. Value gets appended to file object as property ‘description’
postFnfunctionnoopKey/value pairs are used to render a select element for each file queued for upload. The key is used for the individual option value and the key’s value is displayed to the user. Chosen value gets appended to the file object as property ‘fileType’

See Demo And Download

drag-drop-file-5x5-jq-uploader

Official Website(cesperian): Click Here

This superior jQuery/javascript plugin is developed by cesperian. For extra Advanced Usage, please go to the official website.

Related Posts

Google-Translate-Dropdown-Customize-With-Country-Flag

Google Translate Dropdown Customize With Country Flag | GT API

Flag google translates jQuery text that takes advantage of the Google Cloud Translation API to translate web content between languages by selecting a country from the dropdown…

Bootstrap-Fileinput

HTML 5 File Input Optimized for Bootstrap 4.x./3.x with File Preview | Bootstrap Fileinput

bootstrap-fileinput is an improved HTML 5 file input  Bootstrap 5.x, 4.x and 3.x with file preview for different files, provides multiple selections, resumable section uploads, and more….

HStack-and-VStack-in-CSS

CSS Layout Components Horizontal/Vertical Stack | HStack and VStack

HStack and VStack in CSS – CSS layout components that (basically) stack anything horizontally and vertically. A pure CSS library that makes it easy to stack elements…

Floating-Whatsapp-Chat-Button

How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…

alert-confirm-prompt-attention-js

Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…

Leave a Reply

Your email address will not be published. Required fields are marked *