Forum: Ruby on Rails Showing Images from a file store

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2006-04-12 22:38
(Received via mailing list)
Hi all.
I am wrting a small content management tool for my company and was
trying to display some images from our file store shown below.
<td> <img src="\\xx.xx.xxx.xx\xx\xx\xxx\abc.gif"/>
The app was displaying the image when it is under the \public\images
directory.
Is there anything special we need to do to get a file from outside the
root of the application?

Any help appreciated.

Thanks
Silvy Mathews
John B. (Guest)
on 2006-04-12 23:00
(Received via mailing list)
send_file '/path/to.jpeg', :type => 'image/jpeg', :disposition =>
'inline'
This topic is locked and can not be replied to.