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!
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
2010/1/12 Newb Newb <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>:> > 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 imagesIs 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 -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jan 12, 4:54 am, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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 Jones -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.