@sme-uploader/thumbnail-generator
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@sme-uploader/thumbnail-generator

SME Uploader logo

Build Status

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

Example

const SmeUploader = require('@sme-uploader/core');
const ThumbnailGenerator = require('@sme-uploader/thumbnail-generator');

const uploader = new SmeUploader()
uploader.use(ThumbnailGenerator, {
  thumbnailWidth: 200
});

Installation

$ npm install @sme-uploader/thumbnail-generator

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

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

Documentation

Documentation for this plugin can be found on the SME Uploader website.

License

The MIT License.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    2
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @sme-uploader/thumbnail-generator

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

77 kB

Total Files

9

Last publish

Collaborators

  • sme-uploader