for those with experience of Gruff module: suppose I want to send
image from server straight to the browser (as example on gruff web
:disposition => ‘inline’,
:type => ‘image/png’,
:filename => “gruff.png”)
the server seems sending this binary data ok, but I am having trouble
to display it properly:
I have tried
<%= link_to_image “gruff.png”%> or <%= image_tag “gruff.png” %>.
Neither works. The browser gives a bunch of binary encoding.
Thanks in advance.