Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@uppy/thumbnail-generator

1.7.0 • Public • Published

@uppy/thumbnail-generator

Uppy logo: a superman puppy in a pink suit

Build Status

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

const Uppy = require('@uppy/core')
const ThumbnailGenerator = require('@uppy/thumbnail-generator')
 
const uppy = new Uppy()
uppy.use(ThumbnailGenerator, {
  thumbnailWidth: 200
})

Installation

$ npm install @uppy/thumbnail-generator

We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.

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

License

The MIT License.

Install

npm i @uppy/thumbnail-generator

DownloadsWeekly Downloads

80,664

Version

1.7.0

License

MIT

Unpacked Size

74.6 kB

Total Files

10

Homepage

uppy.io

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar