Answer the question
In order to leave comments, you need to log in
Photo storage structure for an online store with 32K products?
The point is in the title.
32K goods.
About 50 categories.
There is a variant to add categories:
images\products\{id_category}\{id_product}\ here photos
But if the product is in different categories?
It feels like a solution has already been found.
Answer the question
In order to leave comments, you need to log in
But if the product is in different categories?
The link to the pictures is stored in the database directly comparable to the product, the pictures themselves are stupidly stored in the same folder. This approach, if I'm not mistaken, will also be useful for security. (Flenov wrote about this in his book.)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question