Artur Paikin 6 years ago
parent
commit
d49d4cf91e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      website/src/docs/thumbnail-generator.md

+ 3 - 1
website/src/docs/thumbnail-generator.md

@@ -7,7 +7,7 @@ permalink: docs/thumbnail-generator/
 category: 'Miscellaneous'
 category: 'Miscellaneous'
 ---
 ---
 
 
-`@uppy/thumbnail-generator` generates proportional thumbnails (file previews) for images that are added to Uppy. It then creates a string with a local preview url (via `URL.createObjectURL(blob)`) and sets it to `file.preview`. `thumbnail:generated` event is also emitted, see below for details.
+`@uppy/thumbnail-generator` generates proportional thumbnails (file previews) for images that are added to Uppy.
 
 
 This plugin is included by default with the [Dashboard](/docs/dashboard), so you don’t have to include it manually. But it is useful if you are not using the Dashboard and want to display image previews in your custom UI.
 This plugin is included by default with the [Dashboard](/docs/dashboard), so you don’t have to include it manually. But it is useful if you are not using the Dashboard and want to display image previews in your custom UI.
 
 
@@ -20,6 +20,8 @@ uppy.use(ThumbnailGenerator, {
 })
 })
 ```
 ```
 
 
+> Now, the `file.preview` property will contain a URL to the thumbnail and `thumbnail:generated` event will be emitted, see below for details.
+
 ## Installation
 ## Installation
 
 
 This plugin is published as the `@uppy/thumbnail-generator` package.
 This plugin is published as the `@uppy/thumbnail-generator` package.