Marnen Laibow-Koser wrote:
> Chris To wrote:
>> Hi all,
>> 
>> I'm having trouble getting images to show up on the browser. I added an
>> image to the public/images directory in Textmate, however all I get is
>> the image alt information when I refresh my browser. 
> [...]
>> 
>> In addition (oddly), whenever I close Textmate out and reopen it, the
>> image file I inserted in public/images is gone. I couldn't find anything
>> helpful from google when I entered the information.
>> 
>> I appreciate any help.
> 
> Sounds like the image file isn't actually getting put where you think it 
> is.  Why not use the Finder or the command line to put the file in the 
> right place?
> 
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> [email protected]


Thanks for the replies everyone,

Adding the file directly within the finder worked (Marnen's suggestion). 
I tried doing

<%= image_tag("/images/kanagawa.jpg") %>

but that didn't work either. Adding image files that aren't really 
associated with your application must be a curiosity within Textmate 
itself.

Thanks everyone for your help!

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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