# Images not displaying

**URL:** <https://www.ruby-forum.com/t/images-not-displaying/111522>\
**Category:** Rails\
**Created:** [August 8, 2007, 8:20am UTC](https://www.ruby-forum.com/t/images-not-displaying/111522 "2007-08-08T08:20:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pragati](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/43a26b/32.png) [@pragati](https://www.ruby-forum.com/u/pragati)\
**Post date:** [August 8, 2007, 8:20am UTC](https://www.ruby-forum.com/t/images-not-displaying/111522/1 "2007-08-08T08:20:53Z")

</div>

I am putting images in public/images folder, and stored the image name  
in my  
table column imageURL. When I am calling books.imageURL, no images are  
getting displayed. Do i need to configure something else?

Thanks!

---

<div class="post-metadata">

**Author:** ![pragati](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/43a26b/32.png) [@pragati](https://www.ruby-forum.com/u/pragati)\
**Post date:** [August 8, 2007, 9:22am UTC](https://www.ruby-forum.com/t/images-not-displaying/111522/2 "2007-08-08T09:22:10Z")

</div>

Pragati Agarwal wrote:

> I am putting images in public/images folder, and stored the image name  
> in my  
> table column imageURL. When I am calling books.imageURL, no images are  
> getting displayed. Do i need to configure something else?
> 
> Thanks!

how are you uploading the pictures? what is stored in imageURL? a full  
path?  
it will need to eventually look something like this

\<%= image\_tag books.imageURL %\>

either way, your problem is pretty vague as there isn’t enough  
information about what you are using / code … maybe worth posting a  
little more info

---

<div class="post-metadata">

**Author:** ![pragati](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/43a26b/32.png) [@pragati](https://www.ruby-forum.com/u/pragati)\
**Post date:** [August 8, 2007, 10:44am UTC](https://www.ruby-forum.com/t/images-not-displaying/111522/3 "2007-08-08T10:44:45Z")

</div>

Shai R. wrote:

> Pragati Agarwal wrote:
> 
> > I am putting images in public/images folder, and stored the image name  
> > in my  
> > table column imageURL. When I am calling books.imageURL, no images are  
> > getting displayed. Do i need to configure something else?
> > 
> > Thanks!
> 
> how are you uploading the pictures? what is stored in imageURL? a full  
> path?  
> it will need to eventually look something like this
> 
> \<%= image\_tag books.imageURL %\>
> 
> either way, your problem is pretty vague as there isn’t enough  
> information about what you are using / code … maybe worth posting a  
> little more info

Also, including the generated html from the problem line in the rhtml  
file is usually a good diagnostic.

---

<div class="post-metadata">

**Author:** ![pragati](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/43a26b/32.png) [@pragati](https://www.ruby-forum.com/u/pragati)\
**Post date:** [August 8, 2007, 12:26pm UTC](https://www.ruby-forum.com/t/images-not-displaying/111522/4 "2007-08-08T12:26:24Z")

</div>

Thanks alot for the prompt replies. I got the solution.

Was to mention the complete path in the imageURL viz., /images/pogo.png

Thanks
