Displaying 1 result from an estimated 1 matches for "myimageservlet".
2006 Jun 27
2
Serve an image up from an action
What I am really trying to do is use the file_column plugin for the file
uplaod/storage (to a non-application directory), but serve up the images
on my own (without the mage_tag url_for_file_column technique)
In the java world, I would simply do something like this:
<img src="myImageServlet?id=1">
and myImageServlet would simply return the appropriate mime headers and
data that represented the image.
I am lost in the ruby/rails world.
My images are being stored in a NON application folder (I do not want
users to be able to access them directly...I want the retrieval of th...