问题
I have successfully implemented the BlueImp jQuery File Upload plugin but after a solid week of reading and trying to implement everything here https://www.google.com/search?biw=1277&bih=608&ei=XkPVXPKHMYO5ggfGm4bgBA&q=load+existing+files+blueimp+site%3Astackoverflow.com&oq=load+existing+files+blueimp (of which most is severely outdated)
and learning alot more about the code than I knew before, It's now time I reach out for some "best practice" advice.
Basically, I'd like to use the same functionality of the U/L / D/L template with the ability to delete images just as if they were previously selected.
ie: Pretty much what this guy (and eveyone in the Google Search) was requesting; How to I preload existing files and display them in the blueimp upload table? but I'd like to implement functionality based off of a productId or similar so that the images associated with each product are redisplayed within the UI setup for editing a products details while using the default Download template I setup for Uploading files where I'd then be able to delete or upload photos associated with that particular product.
Sounds simple enough and Ive seen ways that others claim of hacking this method in some of the links within the provided Google search but most are obsolete methods as the Upload Handler has changed since and I dont "Get It" with their outdated examples so Im wondering if there's a smooth 1 liner way of accomplishing this with the latest code / version?
BTW, One very important fact I forgot is: I use the latest version and am integrated / connected with a database as specified here https://github.com/blueimp/jQuery-File-Upload/wiki/PHP-MySQL-database-integration
来源:https://stackoverflow.com/questions/56090215/how-to-download-manage-images-using-blueimp-jquery-file-upload