Displaying 1 result from an estimated 1 matches for "test_image1".
Did you mean:
test_image
2007 Apr 27
3
Image upload problem.
...try to copy the
upload to an absolute location. However, using multiple-field upload, as
long as one of the to-upload files is *not* a .png, all of the png files
will properly upload (TempFile objects now). So:
Upload: test_image.png --> Failure (FileUtils evaluating nil.to_str in #cp)
Upload: test_image1.png, test_image2.png --> Also fails
Upload: test_image1.png, test_image2.png, test_image3.jpg --> Works
perfectly, I see all three images.
So, what''s going on with Rails and png? Is there a mime type I''m missing
somewhere? It just doesn''t make any sense.
Thanks...