On Wed, Sep 10, 2008 at 3:14 AM, Jay Pangmi <
[EMAIL PROTECTED]> wrote:

>
> Hi I'm using <%= image_tag("nameofimage.png") %> to load image in my
> page and picture is there and it loads very rarely but most of the time
> (almost all the time) it doesn't. What can be the cause for it. Also I
> tried <img src="/public/images/nameofimage.png"/> stille can't get the
> picture though the picture is situated under "<Project
> Folder>/<public>/<images>/nameofimage.png". Thanks


Hi, what version of Rails are you using?  What does the following produce in
script/console:

helper.image_tag( 'nameofimage.png' )

-Conrad

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to