Questions tagged [dropzone.js]
An open-source javascript library which provides drag-and-drop file uploads with image previews
dropzone.js
2,267
questions
0
votes
0
answers
36
views
How can i concatenate (dropzone.js) front chunk file with laravel controller
@section('css')
<link href="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.9.3/min/dropzone.min.css" rel="stylesheet">
@endsection
@section('content')
<h1>File ...
0
votes
0
answers
13
views
In firefox dropzone errors with "image corrupt or truncated"
Can someone please tell me why the following code would work in Chrome but not Firefox? I believe I've implemented a fairly typical setup of Dropzone but am getting the error "Image corrupt or ...
0
votes
0
answers
38
views
How to pass Array with Dropzone Form Data
I am using DropZone and trying to pass Array with the formData.append() for on("sending") method.
I couldnt find any example where we are passing additional data of List objects(except ...
0
votes
0
answers
49
views
svelteKit with dropzone
I'm setting dropzone with svelteKit and I'm getting some issues with the preview image, thiis my code:
<script>
import { onMount } from 'svelte';
import Dropzone from 'dropzone';
import { ...
0
votes
0
answers
38
views
drag and drop image it should display dynamically without refreshing page using ajax.but its not working for me
I need when i drag and drop the images its should display below form dynamically without refreshing the page and also front end and backend validation
view
<!DOCTYPE html>
<html lang="en&...
0
votes
0
answers
64
views
add view button to existing files in dropzone js
I want to add a view button to preview existing files( mockfile ) . For example, when I want to modify a form, the files are displayed in the dropzone, so I want to preview them. this is my code:
var ...
0
votes
0
answers
59
views
ASP.Net MVC - no file content uploaded
There is a simple functionality:
HTML page with dropzone.js (or jQuery Upload plugin, I tried several ways).
MVC controller method:
[HttpPost]
public ActionResult SaveDoc(string docName, ...
1
vote
0
answers
58
views
Dynamically handle Dropzone maxFiles in edit Mode
I am using dropzone with laravel blade.
In edit mode i want to compare with existing photo count with maxFiles value. Also, check the maxFiles condition dynamically when user upload new images or ...
0
votes
1
answer
110
views
Dynamically adding dropzone.js to a form
I'm trying to add a Dropzone to a page dynamically but I either get an "Uncaught Error: Invalid dropzone element. at new $3ed2...." or "Uncaught ReferenceError: Dropzone is not defined&...
0
votes
0
answers
20
views
Make sure dropzone works across multiple conversation threads
I'm creating a chatting application with Django Channels and JavaScript. I have multiple conversation threads, each containing a chat form. I tried to make Dropzone work for all the threads by ...
0
votes
1
answer
77
views
Multiple Dropzone.js instances - file uploading into wrong instance
I recently updated my dropzone.js from an old version (2012) to the latest one. I am using this inside my custom PHP CMS to handle image uploads. I have a section in my CMS for managing images. ...
0
votes
0
answers
47
views
Dropzone - Cannot Get Preview from Existing Image on Server to Show
I have this working example of Dropzone, but I am trying to add a previously uploaded image that I have on my server. The part where "init" starts is where the issue is. It does not like ...
0
votes
0
answers
42
views
Dropzone JS showing up but with the normal file upload overtop of it
Dropzone JS is showing up like so:
Picture of problem with dropzonejs
I have called the CSS file in the head of my site:
<link rel="stylesheet" href="https://unpkg.com/dropzone@5/...
0
votes
1
answer
82
views
Dropzone.js does not post files in queue, only post files with JavaScript is incorrectly formatted
I have a Django project that uses Dropzone to upload multiple files to a project a user has created. All of this is within the same instance (project is created alongside file uploads), so I am using ...
0
votes
0
answers
122
views
Symfony UX and Dropzone : How to download files
I would like to use Symfony UX and the Dropzone component in my project to allow image downloading.
Everything seems to work fine. However, I can't get the files in my controller to process and upload ...