# doubt on image\_tag

**URL:** <https://discuss.rubyonrails.org/t/doubt-on-image-tag/63679>\
**Category:** rubyonrails-talk\
**Created:** [April 23, 2012, 4:15am UTC](https://discuss.rubyonrails.org/t/doubt-on-image-tag/63679 "2012-04-23T04:15:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [April 23, 2012, 4:15am UTC](https://discuss.rubyonrails.org/t/doubt-on-image-tag/63679/1 "2012-04-23T04:15:40Z")

</div>

Hello,

I am very new to ruby on rails and I am facing little problem with image\_tag. I have two controller product and items. In product view, I have a partial called \_show.html.erb. And in items view, i call index of item to display all products. The problem is, when user clicks on the image\_tag of the items view, i want to call partial of product view i.e \_show.html.erb.

Please help me 🙂

thanks, derp
