Alexandre Bodin 506811f198 Add some doc for maxFielSize
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-16 10:04:36 +02:00

35 lines
971 B
Markdown

# strapi-provider-upload-local
## Configurations
Your configuration is passed down to the cloudinary configuration. (e.g: `cloudinary.config(config)`). You can see the complete list of options [here](https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters)
**Example**
`./extensions/upload/config/settings.json`
```json
{
"provider": "cloudinary",
"providerOptions": {
"sizeLimit": 100000
}
}
```
The `sizeLimit` parameter must be a number. Be aware that the unit is in KB. When setting this value high, you should make sure to also configure the body parser middleware `maxFileSize` so the file can be sent and processed. Read more [here](https://strapi.io/documentation/3.0.0-beta.x/plugins/upload.html#configuration)
## Resources
- [MIT License](LICENSE.md)
## Links
- [Strapi website](http://strapi.io/)
- [Strapi community on Slack](http://slack.strapi.io)
- [Strapi news on Twitter](https://twitter.com/strapijs)
```
```