Answer the question
In order to leave comments, you need to log in
How to competently implement image loading in yii2?
Hello.
I was faced with the task of implementing the loading of images for products, the store is written in yii2.
How to implement it competently and conveniently, there is not the slightest idea.
The following came to mind: make a table for images, store the title, primary key, upload date and a link to the table with products there. Do the download itself in the upload folder, generate a name in the form of md5, from the name entered by the user and the download date.
Maybe there are ready-made and beautiful solutions? Do you have your own tips?
Answer the question
In order to leave comments, you need to log in
costa-rico/yii2-images Handy
extension for image management, database storage, slicing, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question