I am using image_tag to load an image that I’ve saved to the database
(using attachment_fu if you’re curious but that’s probably not
<%= image_tag ‘/photo/get_image/5’ %>
:type => @photo.content_type,
:disposition => ‘inline’)
The images I’m saving are less than 100kb and easily handled by my
mysql column of db_file.data which is declared MEDIUMBLOB.
My problem is that the view works perfectly in production but not at
all in development – in development I just get a broken image graphic
with a box and a red x.
Any ideas on how to troubleshoot this? Since it doesn’t seem to be my
code (it works fine in production) I’m at a loss on how to figure this