# @uppy/thumbnail-generator

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

Latest version **6.0.0** (published 2026-08-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @uppy/thumbnail-generator
pnpm add @uppy/thumbnail-generator
yarn add @uppy/thumbnail-generator
bun add @uppy/thumbnail-generator
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 6.0.0 |
| Published | 2026-08-26 |
| First published | 2018-06-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 62.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 30969 |
| Maintainers | kvz, tim-kos, mifi, uppydev |
| Keywords | file uploader, uppy, uppy-plugin, thumbnail, preview, resize |

## Links

- npm: https://www.npmjs.com/package/@uppy/thumbnail-generator
- Repository: https://github.com/transloadit/uppy
- Homepage: https://uppy.io
- Issues: https://github.com/transloadit/uppy/issues
- npm.io page: https://npm.io/package/@uppy/thumbnail-generator

## Dependencies (1)

- [exifr](https://npm.io/package/exifr.md) ^7.1.3

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 6.0.0 (latest) — 2026-08-26
- 4.0.0-beta.4 (next) — 2024-05-03
- 5.1.0 — 2025-12-02
- 5.0.2 — 2025-10-17
- 5.0.1 — 2025-09-16
- 5.0.0 — 2025-08-22
- 4.2.3 — 2025-08-20
- 4.2.2 — 2025-08-01
- 4.2.1 — 2025-07-29
- 4.2.0 — 2025-07-29
- 4.1.1 — 2025-01-09
- 4.1.0 — 2025-01-06
- 4.0.2 — 2024-12-05
- 4.0.1 — 2024-10-31
- 4.0.0 — 2024-07-10
- … 84 more at https://npm.io/package/@uppy/thumbnail-generator/versions

## README

# @uppy/thumbnail-generator

<img src="https://uppy.io/img/logo.svg" width="120" alt="Uppy logo: a smiling puppy above a pink upwards arrow" align="right">

[![npm version](https://img.shields.io/npm/v/@uppy/thumbnail-generator.svg?style=flat-square)](https://www.npmjs.com/package/@uppy/thumbnail-generator)
![CI status for Uppy tests](https://github.com/transloadit/uppy/workflows/CI/badge.svg)
![CI status for Companion tests](https://github.com/transloadit/uppy/workflows/Companion/badge.svg)
![CI status for browser tests](https://github.com/transloadit/uppy/workflows/End-to-end%20tests/badge.svg)

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

Uppy is being developed by the folks at [Transloadit](https://transloadit.com),
a versatile file encoding service.

## Example

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

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

## Installation

```bash
$ npm install @uppy/thumbnail-generator
```

Alternatively, you can also use this plugin in a pre-built bundle from
Transloadit’s CDN: Smart CDN. In that case `Uppy` will attach itself to the
global `window.Uppy` object. See the
[main Uppy documentation](https://uppy.io/docs/#Installation) for instructions.

## Documentation

Documentation for this plugin can be found on the
[Uppy website](https://uppy.io/docs/thumbnail-generator).

## License

[The MIT License](./LICENSE).

---
_Source: https://npm.io/package/@uppy/thumbnail-generator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
