Home > front end >  Webuploader. Js and upload photos and other data
Webuploader. Js and upload photos and other data

Time:09-18

With webuploader. Js more image upload is ok, but how it can also submit other data? For example I want to a one-time upload four images, with or also in save the description of the four images, product sales, product cost and other data to the database, but it can only be submitted to the file data to the background of the picture, but did not provide other data submitted, the method of don't know is I didn't find or I wouldn't use, please help!!!!! Thank you very much!!!!!!!!!!!!!!!

CodePudding user response:

Now interaction generally, a product form, the first to upload pictures, picture upload success, return to give you a picture id, front desk display after the success of the upload images, then enter the description of the product, sales, and other cost, then the image identification, together with other information submitted, because images are generally in the form of file on the server is stored, and other information are generally deposited in the database, the database is the picture of logo, unless you want to put the picture into base64 or other code, directly to the database, and then display, turn back, this also is a form is submitted directly by the right, there's no other, no plug-ins, native forms can be directly,

CodePudding user response:

Thank you for your reminding, I write out! Thank you very much
  • Related