File_Column error msg "Image location invalid image"

I got a strange problem. My image upload worked fine in my XP. However
after deploying to Linux, I am not able to upload images from XP machine

  • I get “Image location invalid image” error message.

However, I am able to upload images from linux boxes. Can anyone tell me
what would cause this problem? Is there any setting in file_column that
are specific to the deployment server os?

thanks
thila

Hey, I am having just about the same problem. My development server is
running Windows XP and everything works fine. But, when I deploy to a
Linux server, I get the “invalid image” error whenever I try to upload
an image. I can’t upload an image using Linux or Windows XP though.

Did you ever find a solution to this problem?

Thanks,
Skylar

Thila Thila wrote:

I got a strange problem. My image upload worked fine in my XP. However
after deploying to Linux, I am not able to upload images from XP machine

  • I get “Image location invalid image” error message.

However, I am able to upload images from linux boxes. Can anyone tell me
what would cause this problem? Is there any setting in file_column that
are specific to the deployment server os?

thanks
thila

I’ve fixed the problem. It seems that ImageMagick was not installed
with the proper libraries. Follow the instructions on the official
RMagick site to install RMagick and ImageMagick:
http://rmagick.rubyforge.org/install-linux.html

Be sure that you install the appropriate development libraries
(libjpeg-devel, freetype-devel, etc.) before installing RMagick and
ImageMagick. This fixed the “invalid image” error for me.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs