# Image tag problem

**URL:** <https://www.ruby-forum.com/t/image-tag-problem/184125>\
**Category:** Rails\
**Created:** [February 25, 2010, 3:31pm UTC](https://www.ruby-forum.com/t/image-tag-problem/184125 "2010-02-25T15:31:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erwillie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c0e974/32.png) [@erwillie](https://www.ruby-forum.com/u/erwillie)\
**Post date:** [February 25, 2010, 3:31pm UTC](https://www.ruby-forum.com/t/image-tag-problem/184125/1 "2010-02-25T15:31:38Z")

</div>

Hi everybody

IÂ´m using image\_tag for show an image, saved in public/images folder,  
but when I tried to see it in the browser only appears the code that I  
wrote. If someone can help me, here is my view code

# HOLA MUNDO
\<%= link\_to "My blog", posts\_path %\> image\_tag("rails.png")

Thanks a lot

---

<div class="post-metadata">

**Author:** ![erwillie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c0e974/32.png) [@erwillie](https://www.ruby-forum.com/u/erwillie)\
**Post date:** [February 25, 2010, 3:34pm UTC](https://www.ruby-forum.com/t/image-tag-problem/184125/2 "2010-02-25T15:34:21Z")

</div>

Guille S. wrote:

> Hi everybody
> 
> IÂ´m using image\_tag for show an image, saved in public/images folder,  
> but when I tried to see it in the browser only appears the code that I  
> wrote. If someone can help me, here is my view code
> 
> # HOLA MUNDO
> \<%= link\_to "My blog", posts\_path %\> image\_tag("rails.png")
> 
> Thanks a lot

IÂ´m stupid I forgot \< %= %\>  
thanks dor your time,because IÂ´m very stupid. Sorry ☹
