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
on 2006-04-12 22:38
on 2006-04-12 23:00
send_file '/path/to.jpeg', :type => 'image/jpeg', :disposition => 'inline'