Answer the question
In order to leave comments, you need to log in
How to optimize image loading?
Hello! I connected yii2-images
to the project and set everything up. Everything seems to be working. But I can't figure out what the problem is.
I make a selection of products by category and pass it to the view:
Product::find()->where(['category_id' => $category->id])->with('imageRico');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question