src/apis/StorageController.php
public function actionImagesInfo()
    {
        $ids = Yii::$app->request->getBodyParam('ids', []);
        $ids = array_unique($ids);
        return new ActiveDataProvider([
            'query' => StorageImage::find()->where(['in', 'id', $ids])->with(['file', 'tinyCropImage.file']),
            'pagination' => false,
        ]);
    }
public function actionImagesInfo()
    {
        $ids = Yii::$app->request->getBodyParam('ids', []);
        $ids = array_unique($ids);
        return new ActiveDataProvider([
            'query' => StorageImage::find()->where(['in', 'id', $ids])->with(['file', 'tinyCropImage.file']),
            'pagination' => false,
        ]);
    }
public function actionImagesInfo ( ) { $ ids = Yii :: $ app -> request -> getBodyParam ( 'ids' , [ ] ) ; $ ids = array_unique ( $ ids ) ; return new ActiveDataProvider ( [ 'query' => StorageImage :: find ( ) -> where ( [ 'in' , 'id' , $ ids ] ) -> with ( [ 'file' , 'tinyCropImage.file' ] ) , 'pagination' => false , ] ) ; }
A post request with an array of images to load!


@since 1.2.2.1
A post request with an array of images to load!