<p>Nothing native that I can think of other than ditch the rich text field and use Matrix with a proper Assets field.</p>

CC BY-SA 3.0
2015-02-19T04:14:04.390Z
Thanks Brad, didn't think so, but wanted to check. Do you know offhand if this is possible from the Redactor side of things? Wondering if I can look at how you handle an image's src and follow suit.
Tim Kelty
CC BY-SA 3.0
2015-02-19T04:18:23.633Z
I'm not sure if you could do it purely from the JS/Redactor side... I think you'd probably end up having a plugin that adds it's own RTE field type that extends the Craft one as well.
Brad Bell
CC BY-SA 3.0
2015-02-19T12:36:48.520Z
I'll give it a shot!
Tim Kelty
CC BY-SA 3.0
2015-02-18T21:27:26.750Z
2015-02-18T21:27:26.750Z
Brad Bell
<p>I have custom fields for <code>altText</code> and <code>title</code> on some asset image locations.</p>

<p>Wondering if there is a good way to have those automatically added when a user puts in an image from a rich text field.</p>

<assets><redactor><richtext>
Adding alt text/title attributes to assets in a rich text field
# Adding alt text/title attributes to assets in a rich text field

(Asked by: username_0 on 2015-02-18)

I have custom fields for `altText` and `title` on some asset image locations.

Wondering if there is a good way to have those automatically added when a user puts in an image from a rich text field.

**Tags:** assets, redactor, richtext


---

## 1 answers

### Answer by username_1 on 2015-02-18. Score: 1 | Accepted answer

Nothing native that I can think of other than ditch the rich text field and use Matrix with a proper Assets field.

> **Comments:**
> **username_0**: Thanks Brad, didn't think so, but wanted to check. Do you know offhand if this is possible from the Redactor side of things? Wondering if I can look at how you handle an image's src and follow suit.  
> **username_1**: I'm not sure if you could do it purely from the JS/Redactor side... I think you'd probably end up having a plugin that adds it's own RTE field type that extends the Craft one as well.  
> **username_0**: I'll give it a shot!  

---

