# list image

**URL:** <https://discuss.rubyonrails.org/t/list-image/15282>\
**Category:** rubyonrails-talk\
**Created:** [July 4, 2007, 2:29pm UTC](https://discuss.rubyonrails.org/t/list-image/15282 "2007-07-04T14:29:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rab](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/rab/32/710_2.png) [@rab](https://discuss.rubyonrails.org/u/rab)\
**Post date:** [July 4, 2007, 2:29pm UTC](https://discuss.rubyonrails.org/t/list-image/15282/1 "2007-07-04T14:29:16Z")

</div>

You only want to give '/images/prova.jpg' to the \<img\> or image\_tag. The value is going to be interpretted by the browser so that PATH is not a URL. Unless your routes are also set up to catch this and you're finding the file and using send\_file() to get it back. (NOTE: I'm \*not\* recommending this!)

It looks like you should remove RAILS\_ROOT+'/public' from all of your "url"s

-Rob

Rob Biedenharn [http://agileconsultingllc.com](http://agileconsultingllc.com) Rob@AgileConsultingLLC.com
