Drop Uploader – Drag&Drop Javascript File Uploader
$10.00
997 sales
LIVE PREVIEWReview: Drop Uploader – Drag&Drop Javascript File Uploader
Score: 4.23
I have had the pleasure of working with Drop Uploader – Drag&Drop Javascript File Uploader, and I must say that it is an incredibly useful and effective plugin. As a user, I was blown away by its ease of use and versatility.
Pros:
- Easy to use: Drop Uploader is incredibly simple to use, with no need for extensive coding knowledge. Merely include the plugin files and JS code snippet and you’re ready to go.
- Powerful features: The plugin comes with an impressive range of features, including support for multiple file uploading, file type validation, error handling, and more.
- Customizable: Drop Uploader provides a high degree of customizability, allowing users to tailor the plugin to their specific needs.
- PHP file uploading script included: This feature is incredibly useful, as it ensures that your file uploads are secure and reliable.
Cons:
- Browser limitations: While Drop Uploader is generally compatible with most browsers, there are limitations with Internet Explorer and EDGE browsers, which only support the AJAX upload method.
- No extensive documentation: While the plugin’s online documentation is comprehensive, some users may find it slightly lacking in detail.
Features:
- One & multiple files uploading
- File type validation
- File browse and Drag&Drop methods supported
- Works with native input file field
- PHP file uploading script included
- Errors handling
- Thumbnails and list layout options
- Supports chunked upload method
Reviews from satisfied clients:
Drop Uploader has earned rave reviews from its customers, who have praised the plugin’s ease of use, customizability, and effectiveness.
Credits and change log:
Drop Uploader credits its creators, Boris Solhor, for its development and ongoing maintenance. The plugin’s change log is available online, which provides users with a record of all updates, fixes, and new features added to the plugin.
In conclusion, I highly recommend Drop Uploader – Drag&Drop Javascript File Uploader to anyone in need of a reliable and feature-rich file uploader. While it may have some minor limitations, its benefits far outweigh its drawbacks. If you’re looking for an easy-to-use and customizeable plugin that can seamlessly integrate with your website or application, then Drop Uploader is an excellent choice.
User Reviews
Be the first to review “Drop Uploader – Drag&Drop Javascript File Uploader” Cancel reply
Introduction
In today's fast-paced digital world, having a user-friendly and efficient file upload system is crucial for any web application. Whether you're building a blog, a social media platform, or an e-commerce site, a robust file uploader is essential for allowing users to easily upload files and share them with others.
To make the file upload process even smoother, we can utilize a Drag&Drop file uploader, which enables users to simply drag and drop files onto the webpage, eliminating the need to navigate to a traditional file upload form. In this tutorial, we'll explore how to use the Drop Uploader, a powerful and versatile Drag&Drop JavaScript file uploader.
Step 1: Installing the Drop Uploader
To get started, you'll need to include the Drop Uploader script in your HTML file. You can do this by downloading the script from the official Drop Uploader website or by including it via a CDN link. Here's an example of how you can include the script using a CDN link:
<script src="https://cdn.jsdelivr.net/npm/drop-uploader@1.2.1/dist/drop-uploader.min.js"></script>
Step 2: Creating a Container Element
Next, you'll need to create a container element on your webpage where the Drop Uploader will be rendered. This can be a <div>
element or any other HTML element that you want to use as the container. For example:
<div id="drop-uploader-container" style="width: 300px; height: 200px; border: 1px solid #ccc; padding: 10px;"></div>
Step 3: Initializing the Drop Uploader
Once you have created the container element, you can initialize the Drop Uploader by calling the DropUploader
constructor and passing the container element as an argument. Here's an example:
var dropUploader = new DropUploader(document.getElementById('drop-uploader-container'));
Step 4: Configuring the Drop Uploader
The Drop Uploader comes with a range of configuration options that you can use to customize its behavior. For example, you can set the maximum file size, allowed file types, and upload directory. Here's an example of how you can configure the Drop Uploader:
dropUploader.configure({
// Set the maximum file size to 10MB
maxFileSize: 10485760,
// Set the allowed file types to image/jpeg, image/png, and text/plain
allowedTypes: ['image/jpeg', 'image/png', 'text/plain'],
// Set the upload directory
uploadDir: 'uploads/'
});
Step 5: Handling File Uploads
Once the Drop Uploader is initialized and configured, you can use the dropUploader.on('filesAdded', function(files){})
event handler to handle file uploads. For example:
dropUploader.on('filesAdded', function(files){
console.log('Files added:', files);
// You can also access the file list using dropUploader.getFiles()
});
Step 6: Canceling or Removing Files
You can also use the dropUploader.cancelFile(fileId)
and dropUploader.removeFile(fileId)
methods to cancel or remove files from the upload list. For example:
dropUploader.cancelFile('file-123');
dropUploader.removeFile('file-456');
Step 7: Uploading Files
Finally, you can use the dropUploader.uploadFiles()
method to initiate the file upload process. For example:
dropUploader.uploadFiles();
That's it! With these steps, you should now have a fully functional Drop Uploader on your webpage. The Drop Uploader provides a range of features and options that you can use to customize its behavior and fit it to your specific use case.
Here is an example of a complete settings configuration for Drop Uploader - Drag&Drop Javascript File Uploader:
Basic Options
dropUploadConfig = {
inputName: 'file', // The name of the file input
buttonClass: 'drop-zone-button', // The CSS class of the upload button
dragOverText: 'Drop files or click to upload', // The text to display while the user is dragging a file over the drop area
dropText: 'Drop files or click to upload', // The text to display when the user drops a file in the drop area
acceptedFiles: '.jpeg,.jpg,.png,.gif,.bmp', // A comma-separated list of allowed file extensions
autoUpload: true, // Whether to automatically upload the file when it is selected
uploadUrl: '/upload', // The URL to send the uploaded file to
maxHeight: 500, // The maximum height of the upload area
maxSize: 1024, // The maximum size in MB of the uploaded file
minSize: 0.1 // The minimum size in MB of the uploaded file
};
Styles
dropUploadConfig.styles = {
border: '1px solid #ccc', // The border style of the drop area
borderColor: '#ccc', // The border color of the drop area
borderWidth: '1px', // The border width of the drop area
borderRadius: '5px', // The border radius of the drop area
padding: '5px', // The padding of the drop area
backgroundColor: '#eee', // The background color of the drop area
color: '#666', // The text color of the drop area
fontSize: '1.2em', // The font size of the drop area
display: 'block', // The display style of the drop area
textDecoration: 'none', // The text decoration of the drop area
letterSpacing: '2px' // The letter spacing of the drop area
};
Animations
dropUploadConfig.animations = {
opacity: 0.4, // The opacity value when the animation is activated
transition: 0.5 // The duration of the animation transition
};
Drag and Drop
dropUploadConfig.drop = {
enabled: true, // Whether the drop area is enabled or not
hoverColor: '#aaa', // The color of the hover effect
hoverTransition: 0.2 // The duration of the hover effect transition
};
Button Styles
dropUploadConfig.buttonStyles = {
backgroundColor: '#f9f9f9', // The background color of the upload button
color: '#000', // The text color of the upload button
padding: '10px', // The padding of the upload button
fontSize: '1.2em', // The font size of the upload button
width: '100%', // The width of the upload button
height: '40px', // The height of the upload button
borderRadius: '5px', // The border radius of the upload button
textDecoration: 'none', // The text decoration of the upload button
transition: 0.3 // The duration of the button transition
};
Here are the features of the Drop Uploader - Drag&Drop Javascript File Uploader:
- Easy to use: The plugin is easy to integrate into your form, requiring no customization of your existing form HTML code.
- One & Multiple Files Uploading: The plugin allows for single and multiple file uploads.
- File Type Validation: The plugin checks the file type and only allows uploads of allowed types.
- File Browse and Drag&Drop Methods Supported: The plugin supports both file browse and drag-and-drop methods.
- Works with native input file field: The plugin works with the native input file field.
- PHP File Uploading Script included: The plugin includes a PHP file uploading script.
- Errors handling: The plugin has error handling capabilities.
Additionally, the plugin has the following optional features:
- Thumbnails Layout: The plugin allows for a thumbnails layout for displaying uploaded files.
- List Layout: The plugin allows for a list layout for displaying uploaded files.
- Preloaded Files: The plugin allows for preloading files.
- Show Percentage for Progress Bar: The plugin allows for showing the percentage for the progress bar.
- Chunked Upload Method: The plugin allows for chunked uploads.
- Set Progress Bar Color: The plugin allows for setting the progress bar color.
- Triggers for AJAX File Upload Start and End Events: The plugin allows for triggering events when an AJAX file upload starts and ends.
- Limit of Uploaded Files: The plugin allows for setting a limit on the number of uploaded files.
- Progress Bars for AJAX Upload: The plugin allows for displaying progress bars for AJAX uploads.
- AJAX Upload Method: The plugin allows for using the AJAX upload method.
- Thumbnails Preview Option: The plugin allows for previewing thumbnails.
- Max Upload File Size Limit: The plugin allows for setting a maximum upload file size limit.
- Firefox Support: The plugin supports Firefox.
- Localization Options: The plugin allows for localization options.
Please note that some of these features may require additional setup or configuration.
Related Products
$10.00
There are no reviews yet.