Buy Now
Sign in

Drag on Drop picture uploads with a thumbnail?

RamboRon , October 28 2021, 19:16
RamboRon 25
October 28 2021, 19:16 #397309
If I have a form that is information about a photo and the photo upload itself to be loaded into a database, is there a way they can drag and drop the photo on the form and it will thumbnail it and present the thumbnail and the photo title before the form is submitted?
GreyHead 65
October 29 2021, 13:16 #397312
Hi RamboRon,
You could probably do this with custom JavaScript. I found a StackOverFlow answer here that looks as if it might work for you though that replaces the image with the thumbnail rather than uploading both.
If you'd like to buy me a coffee or two, thank you very much