thila thila
2006-Jul-10 21:20 UTC
[Rails] 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 -- Posted via http://www.ruby-forum.com/.
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-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---