Hi all,
I emailed Sebastian awhile back about this, but I know he is busy,
so I’m asking for your help.
I’m using the latest version of file_column from SVN, or the non-SVN
version (doesn’t matter),
but on some files, file_column will create 0kb files.
The tmp directory will contain the correct file size, and I copied the
temp over the 0kb file, and then it displayed.
I’ve followed the threads (‘file_column on windows?’) about the ‘file
-bi’ problem, and I installed the GNUWin32 version of file, but the
same problem still exists.
I tried Sebastians idea from the same thread about replacing
get_content_type with another piece of code, but that didn’t work…
Can anyone help me with this? The server logs don’t show anything after
I installed File, so this is hard to troubleshoot.
Here are the two images:
http://images.lexmark.com/vgn/files/portal/X2250_big.jpg
The Dell image
works, but not the Lexmark one.
My Edit page looks like this:
<%= file_column_field “device”, “image” %>
And my Model has this:
file_column :image
–
- Nic