felixrieseberg / React-Dropzone-Component

:camera: ReactJS Dropzone for File Uploads (using Dropzone.js)
MIT License
1k stars 153 forks source link

fetch images #194

Open Deboracgs opened 5 years ago

Deboracgs commented 5 years ago

how to display existing images from a url in dropzone?

rehanumar commented 3 years ago

any progress on this? I am getting reference to dropzone to set files myself. Like in this example

// callback and crossOrigin are optional
let mockFile = { name: "Filename", size: 12345 };
myDropzone.displayExistingFile(mockFile, 'https://image-url');

source: https://www.dropzonejs.com/#configuration-options

But dropzone ref don't have displayExistingFile function.

rehanumar commented 3 years ago

Did some research. this article is the way to go.

https://hackernoon.com/how-to-display-existing-files-on-server-using-dropzonejs-and-go-53e24b57ba19

tummybos commented 2 years ago

Why is this issue not receiving attention or an update?