---
title: "tinymce.util.ImageUploader"
description: "This class handles uploading images to a back-end server."
canonical_url: "https://www.tiny.cloud/docs/tinymce/latest/apis/tinymce.util.imageuploader/"
md_url: "https://www.tiny.cloud/docs/tinymce/6/apis/tinymce.util.imageuploader/index.md"
version: "6"
last_updated: "2022-06-27T01:45:26Z"
tokens: 252
---
Important This page documents TinyMCE 6. For new projects, Tiny recommends using the latest, most up-to-date version. [See TinyMCE 8 documentation](../../../latest/apis/tinymce.util.imageuploader/).
# tinymce.util.ImageUploader

This class handles uploading images to a back-end server.

## Summary

### Methods

| Name | Summary | Defined by |
| --- | --- | --- |
| [upload()](#upload) | Uploads images to the configured image upload URL (`images_upload_url`) or passes the images to the defined image upload handler function (`images_upload_handler`). | `ImageUploader` |

## Methods

### upload()

```javascript
upload(blobInfos: Array, showNotification: Boolean)
```
Uploads images to the configured image upload URL (`images_upload_url`) or passes the images to the defined image upload handler function (`images_upload_handler`).

#### Parameters

- `blobInfos (Array)` - A BlobInfo array containing the image data to upload. A BlobInfo can be created by calling `editor.editorUpload.blobCache.create()`.
- `showNotification (Boolean)` - (Optional) When set to true, a notification with a progress bar will be shown during image uploads.
