Thanks for the clarification. Is there any online example somewhere that
you are aware of so that I can see it in action?
I wanted to show the image along with other data from the
How do I do that. Looks like I am not understanding it.
:type => ‘image/jpeg’,
What you want to do is set up a controller that handles the dispatching
of the images. It is there that you would have the send_file command.
Remember that in HTTP you are going to have seperate request for each
item on the page, so map the new controller url using routes and use
that url in your view, for example “/dynamicimages/abc.gif”.
Does that make sense?