For example, the release of a product, at the same time there are a number of pictures, as the next two methods, which is good, or what we all do:
Upload a picture, get an image address, and then distribute the image address at the same time.
Mr. Cheng is a commodity, and returns the corresponding ID of the product, then passes the picture and carries the product ID to bind.
Reply content:
For example, the release of a product, at the same time there are a number of pictures, as the next two methods, which is good, or what we all do:
Upload a picture, get an image address, and then distribute the image address at the same time.
Mr. Cheng is a commodity, and returns the corresponding ID of the product, then passes the picture and carries the product ID to bind.
First packaging upload pictures, and then in the release of the product to choose the library is not better, the general background is to deal with the release of goods at the same time if you upload a picture is cumbersome and error prone error many form items also backfill
Personal Opinion:
The second good picture is attached to the product, not the reverse.
Second, choose directly from the picture library