---
title: "Image, MailKaro Docs"
description: "Image in MailKaro: a responsive image with an optional link. For React, Vue, Angular and plain JavaScript."
---

# Image

Content blocks

# Image

A responsive image with an optional link.

## Options

- Source URL (upload, stock, S3, Drive) + alt text
- Width (auto or fixed %), alignment, padding
- Optional destination link
- Double-click to open the image editor (crop/rotate/filters)

## How it exports

- An image with no source is left out of the email.
- The `` gets a pixel `width` attribute worked out from its column (for Outlook) and `max-width:100%`, so it shrinks on a phone.
- The source can be an `https://` or `http://` address, a `cid:` reference, a `data:image/` URI or a merge tag such as `{{avatar_url}}`. A source with another scheme, such as `javascript:`, is exported empty.
- Merge tags in the source and alt text are filled at export.
- A linked image opens in a new tab by default (`target="_blank"`). In the AMP export it becomes an ``.

## Defaults and text wrap

A new image is 100% wide and centered, with 10px padding and an 18px corner radius. Set `text_wrap` to left or right to float it beside the content that follows in the same column. Outlook desktop ignores the float, so there the content stacks under the image.

The [QA checks](https://docs.mailkaro.com/qa-checks) warn about an image without alt text. For vector files, see [SVG images](https://docs.mailkaro.com/svg-images).

Source: https://docs.mailkaro.com/block-image
