pqina / jquery-filepond

🔌 A handy FilePond wrapper for jQuery
https://pqina.nl/filepond
MIT License
239 stars 43 forks source link

How to set the default file url? #2

Closed wangooooooo closed 6 years ago

wangooooooo commented 6 years ago

When editing an image record that has already been uploaded, I do not know how to set the default image url. (Sorry, my English is very poor)

rikschennink commented 6 years ago

Hi @wangooooooo I'm not sure what you mean with "default image url", can you elaborate?

wangooooooo commented 6 years ago

When the user edits an object that contains a picture,I would like to show them the recently uploaded picture and give them the option to delete that one and upload another.

wangooooooo commented 6 years ago

rikschennink commented 6 years ago

@wangooooooo you can use the files array to set the currently uploaded files. See the setting initial files entry in the docs.

wangooooooo commented 6 years ago

Thanks for being so responsive.