Javascript-multiimage upload-php Tutorial

Source: Internet
Author: User
For example, if you want to publish a product with multiple images at the same time, you can use either of the following two methods: upload the image first and obtain the image address, then, when the product name is released, the image address will be uploaded to the product, and the corresponding id of the product will be returned... for example, if you want to publish a product with multiple corresponding images, you can use either of the following two methods, or how do you do it:

  1. Upload the image first, get the image address, and then upload the image address when publishing the product list.

  2. Returns the corresponding id of the product, and transmits the product id to bind when uploading the image.

Reply content:

For example, if you want to publish a product with multiple corresponding images, you can use either of the following two methods, or how do you do it:

  1. Upload the image first, get the image address, and then upload the image address when publishing the product list.

  2. Returns the corresponding id of the product, and transmits the product id to bind when uploading the image.

It is better to package and upload images first, and then select the image library when releasing the product, in general, the background processes the publishing of commodities in this way, while uploading images is cumbersome and error-prone. many form items need to be refilled.

Personal opinion:
The second picture is attached to the product rather than the opposite

Second, directly select from the Image Library

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.