# Images in textfields and autosizing

**URL:** <https://forum.kirupa.com/t/images-in-textfields-and-autosizing/101650>\
**Category:** Uncategorized\
**Created:** [February 12, 2004, 10:28am UTC](https://forum.kirupa.com/t/images-in-textfields-and-autosizing/101650 "2004-02-12T10:28:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![m\_andrews808](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@m\_andrews808](https://forum.kirupa.com/u/m_andrews808)\
**Post date:** [February 12, 2004, 10:28am UTC](https://forum.kirupa.com/t/images-in-textfields-and-autosizing/101650/1 "2004-02-12T10:28:45Z")

</div>

ello

just got mx 04 pro so I’m playing around with some of the new features and seeing what can be done.

Anyway I’m checking out the support of \<img\> tags in html enabled textfields and I’ve found that if I make the textfield autosize it doesn’t load my image.

here’s what I mean:

```auto

Caption = "test <br><img src=\"Bug.jpg\">";

```

works fine, loads my bug image

```auto

Caption = "test <br><img src=\"Bug.jpg\">";
CaptionField.autoSize = true;

```

fails to load the image

anyone know why this is and if there’s a workaround? its pretty important that I can have dynamically sized textfields with images in them for a project I’m working on

cheers all  
(-:
