# Image\_tag resolution of path to image not working in html emails

**URL:** <https://www.ruby-forum.com/t/image-tag-resolution-of-path-to-image-not-working-in-html-emails/162925>\
**Category:** Rails\
**Created:** [March 15, 2009, 8:59pm UTC](https://www.ruby-forum.com/t/image-tag-resolution-of-path-to-image-not-working-in-html-emails/162925 "2009-03-15T20:59:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunaclaire](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/f4b2a3/32.png) [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Post date:** [March 15, 2009, 8:59pm UTC](https://www.ruby-forum.com/t/image-tag-resolution-of-path-to-image-not-working-in-html-emails/162925/1 "2009-03-15T20:59:25Z")

</div>

I’m using the inline\_attachment gem at:

[http://github.com/betamatt/inline\_attachment/tree/master](http://github.com/betamatt/inline_attachment/tree/master)

to include images in my html emails and almost have everything working  
well now, except that what works in development does not work in  
production.

when sent from the development machine here’s what gets inserted by  
image\_tag in the email that goes out:

![RedeyeStats.com]()

when sent from production:

![RedeyeStats.com](https://www.ruby-forum.com/images/RedeyeLogo.gif?1236723122)

Note the relative path.

So, something’s not getting resolved correctly in production. Can  
anyone pt me in the right direction to figure out why?

Thx.
