src/commands/StorageController.php
public function actionProcessThumbnails()
    {
        $response = Yii::$app->storage->processThumbnails();
        
        if ($response) {
            return $this->outputSuccess('Successful generated storage thumbnails.');
        }
        
        return $this->outputError('Error while creating the storage thumbnails.');
    }
public function actionProcessThumbnails()
    {
        $response = Yii::$app->storage->processThumbnails();
        
        if ($response) {
            return $this->outputSuccess('Successful generated storage thumbnails.');
        }
        
        return $this->outputError('Error while creating the storage thumbnails.');
    }
public function actionProcessThumbnails ( ) { $ response = Yii :: $ app -> storage -> processThumbnails ( ) ; if ( $ response ) { return $ this -> outputSuccess ( 'Successful generated storage thumbnails.' ) ; } return $ this -> outputError ( 'Error while creating the storage thumbnails.' ) ; }
Create all thumbnails for filemanager preview. Otherwhise they are created on request load.
Create all thumbnails for filemanager preview . Otherwhise they are created on request load .