# ImgBB

> Upload images to ImgBB and get back public links to share or embed.

App · Images & Design · 1 action. Web page: https://docs.lodol.com/docs/integrations/imgbb

## Actions

### Upload an image

Upload an image to ImgBB and get back a public link you can share or embed. Upload a file, use one from an earlier step, or paste an image URL.

**Inputs**

- Image (`image`, text, required): The image to upload: upload a file, pick an image from an earlier step, or paste a public image URL.
- Name (`name`, text): Optional. A name for the uploaded image. Defaults to the original file name.
- Auto-delete after (`expiration`, text): Optional. How long ImgBB keeps the image before deleting it automatically. One of: `never` (Never (keep forever)), `300` (5 minutes), `3600` (1 hour), `86400` (1 day), `604800` (1 week), `2592000` (30 days), `15552000` (180 days). Default: `never`.

**Outputs**

- `delete_url` (text): Link that deletes the image when visited
- `display_url` (text): Link to a display-optimised version
- `height` (number): Image height in pixels
- `id` (text): ImgBB's id for the image
- `size` (number): Size of the image in bytes
- `title` (text): Name of the image
- `url` (text): Direct link to the image file
- `viewer_url` (text): Link to the ImgBB viewer page for the image
- `width` (number): Image width in pixels

**Example output**

```json
{
  "delete_url": "https://ibb.co/2ndCYJK/1a2b3c4d5e6f7a8b9c0d",
  "display_url": "https://i.ibb.co/98W13PY/photo.jpg",
  "height": 800,
  "id": "2ndCYJK",
  "size": 154321,
  "title": "photo",
  "url": "https://i.ibb.co/2ndCYJK/photo.jpg",
  "viewer_url": "https://ibb.co/2ndCYJK",
  "width": 1200
}
```
