mirror of
https://github.com/strapi/strapi.git
synced 2025-08-12 18:53:23 +00:00
35 lines
963 B
Markdown
35 lines
963 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/v3.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)
|
|
|
|
```
|
|
|
|
```
|