I see this post is four years old, however, I ended up in here because of very same situation, struggling with the |theme filter not working within a content section.
However, what I've done to "get around it" was to simple use src paths as it is in html.
For instance, let's say I have a theme called Bogus. Then, within the content html, I simply use src="themes/bogus/assets/images/the_right_one.jpg" where [assets/images/the_right_one.jpg] is whatever path I you to reach from a content section
I know this is not smart or even clever, but I get that sometimes we forget there's simple solutions like this. And even tho it's not meant to work like that, it solves the question if you want to use a img tag. Or else, you can just use the solution from creg33270.
Btw, running on a local server. If anyone is up to try it on a host it would be nice!