I am trying to build my own little eCommerce CMS, and i want the expert opinion on how to handle multiple uploaded files (images).
For Example:
A user adds a new item, fills the necessary form data and selects (nth)
number of images and submits. I want to know how should i handle those images data into MySQL.
one thought i have in mind is that i create a separate table item_images
Where i assign an ID or something like Item Code
which inputs by the user and that Item Code will be the Identification for all the images?
PS: I dont want to upload Images directly to the Database, Just the paths/links.
Please advice.