# email/transformations/transformemailimagewidthattributes

module

<a id="constants">

## Constants

<a id="constant-transformEmailImageWidthAttributes">

### `transformEmailImageWidthAttributes: ExportInlineStylesTransformation`

Removes width and height attributes from images that have width defined in styles. This helps to prevent issues with image scaling in some email clients.

Example:

* `<img style="width: 100px;" width="200" height="150">` → `<img style="width: 100px; height: auto;">`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
