hey, I try to display pics (jpg) from my db but all I get is the
The pic and all of its att look fine in the db.
It goes something like this:
<%= image_tag(url_for(:controller => 'upload_controller', :action =>
"getpicture", :id => @picture.id)) %>
@picture = Picture.find(params[:id])
:filename => @picture.name,
:type => @picture.content_type,
:disposition => "inline" )
somebody has any idea ?