Question on Render :file => file

Dear Friends,
I use render :file method to display html file which has images in it .
The render file method not displays a HTML file with images that’s
exists inside public folder.
Both my HTML files and images refereed are in the public folder only.
Question 1: how to view that HTML file with images in it
Question 2: why render file method is not showing the images in the
HTML
file and simply shows the HTML content without images

Thanks for any helps!

2010/1/12 Newb N. [email protected]:

Dear Friends,
I use render :file method to display html file which has images in it .
The render file method not displays a HTML file with images that’s
exists inside public folder.
Both my HTML files and images refereed are in the public folder only.
 Question 1: how to view that HTML file with images in it
 Question 2: why render file method is not showing the images in the
HTML
       file and simply shows the HTML content without images

Is this the same question as in the thread titled HELP ON RENDER FILE
METHOD? If so I have posted some suggestions there. There is not
much point asking the same question in two threads.

Colin

On Jan 12, 4:54Â am, Colin L. [email protected] wrote:

Is this the same question as in the thread titled HELP ON RENDER FILE
METHOD? Â If so I have posted some suggestions there. Â There is not
much point asking the same question in two threads.

Actually, it’s the same question from:

  • HELP TO SHOW IMAGE
  • HELP ON RENDER FILE METHOD
  • NOT SOLVED - PROBLEM IN ACCESING FILE
  • and this thread.

All but the first were started yesterday. Kind of annoying, really.

–Matt J.