1212- Easy setup presets for files
1313- Ability to use any component for working with images
1414- Support for multiple file uploads
15- - Check the Owner of file
15+ - Check the Owner of a file
1616- Storing information about a file in the database
1717
1818## Installation
@@ -149,8 +149,8 @@ Add the following in your config, in section `components`
1491493 . ** View**
150150
151151 Any widget for ajax upload.
152- Add file id from response to input for to bind to model.
153- You can use [ widget for FileApi] ( https://github.com/rkit/fileapi-widget-yii2 )
152+ Add file id from a response to input for to bind to model.
153+ You can use [ the widget for FileApi] ( https://github.com/rkit/fileapi-widget-yii2 )
154154
155155### Thumbnails
156156
@@ -208,7 +208,7 @@ Add the following in your config, in section `components`
208208
209209### Save after upload
210210
211- For example this could be a need for wysiwyg editor,
211+ For example, this could be a need for wysiwyg editor
212212when you need to immediately save the file after upload and assign the owner.
213213
214214``` php
@@ -228,7 +228,7 @@ public function actions()
228228}
229229```
230230
231- ### Manually create a file from path
231+ ### Manually create a file from a path
232232
233233``` php
234234object Yii::$app->fileManager->create('/path/to/file', $ownerId, $model->getFileOwnerType($attribute), true);
0 commit comments