uppy/packages/@uppy/thumbnail-generator
Merlijn Vos 6e65cd8c51
Import types consistently from @uppy/core (#5589)
* Import types consistently from @uppy/core

* Add new eslint rule

* Clean up exports
2025-01-09 11:03:43 +01:00
..
src Import types consistently from @uppy/core (#5589) 2025-01-09 11:03:43 +01:00
.npmignore @uppy/thumbnail-generator: migrate to TS (#4978) 2024-03-07 15:24:17 +01:00
CHANGELOG.md Release: uppy@4.11.0 (#5574) 2025-01-06 14:11:04 +00:00
LICENSE Move ThumbnailGenerator to @uppy/thumbnail-generator. 2018-06-14 16:31:19 +02:00
package.json Release: uppy@4.11.0 (#5574) 2025-01-06 14:11:04 +00:00
README.md Fix links (#5492) 2024-10-29 13:54:00 +01:00
tsconfig.build.json Remove "paths" from all tsconfig's (#5572) 2025-01-06 12:14:42 +01:00
tsconfig.json Remove "paths" from all tsconfig's (#5572) 2025-01-06 12:14:42 +01:00

@uppy/thumbnail-generator

Uppy logo: a smiling puppy above a pink upwards arrow

npm version CI status for Uppy tests CI status for Companion tests CI status for browser tests

Uppy plugin that generates small previews of images to show on your upload UI.

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

import Uppy from '@uppy/core'
import ThumbnailGenerator from '@uppy/thumbnail-generator'

const uppy = new Uppy()
uppy.use(ThumbnailGenerator, {
  thumbnailWidth: 200,
})

Installation

$ npm install @uppy/thumbnail-generator

Alternatively, you can also use this plugin in a pre-built bundle from Transloadits CDN: Smart CDN. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.

Documentation

Documentation for this plugin can be found on the Uppy website.

License

The MIT License.