[android-components](../../index.md) / [mozilla.components.browser.thumbnails.storage](../index.md) / [ThumbnailStorage](index.md) / [saveThumbnail](./save-thumbnail.md)

# saveThumbnail

`fun saveThumbnail(request: `[`ImageRequest`](../../mozilla.components.support.images/-image-request/index.md)`, bitmap: <ERROR CLASS>): Job` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/thumbnails/src/main/java/mozilla/components/browser/thumbnails/storage/ThumbnailStorage.kt#L102)

Stores the given thumbnail [Bitmap](#) into the disk cache with the provided [ImageRequest](../../mozilla.components.support.images/-image-request/index.md)
as its key.

