Add an option `onetimeUrl` of the volume root option.
`'onetimeUrl' => true`
or
`'onetimeUrl' => function($file, $options, $volumeInstance) { return 'String of onetimeurl'; }``
To enable onetime URL support.
The connector can return the URL of the substitute image whose size will fit in that pixel as the value of the key 'url' of the result data when the 'substitute' parameter gives with `dim` command from the client.
Add the following two options on the client side config `commandsOptions.resize` to fixes#2251.
```javascript
// File size (bytes) threshold when using the `dim` command for obtain the image size necessary to start editing
getDimThreshold : 204800,
// File size (bytes) to request to get substitute image (400px) with the `dim` command
dimSubImgSize : 307200
```