You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I get this error trying to create a new gallery :
2 errors prohibited this gallery from being saved
There were problems with the following fields:
* Image /tmp/mauroleone_275x200,6222,0.jpg is not recognized by the 'identify' command.
* Image /tmp/mauroleone_275x200,6222,0.jpg is not recognized by the 'identify' command.
All the rest seems ok. Do you have any idea of what's going on ?
Thanks in advance
Luca
The text was updated successfully, but these errors were encountered:
This is an ImageMagick configuration / path issue. identify is an image magick command used when applying the watermark. Unfortunately it's not always easy to solve.
First make sure your Paperclip.options[:command_path] = "/usr/local/bin" in the initializers/grokphoto.rb is pointing to your ImageMagick bin path (in my case /usr/local/bin".
If that doesn't work you'll need to spend a little more time messing around with environment paths specific to your setup. I.e. passenger, windows, osx, linux, etc. Some people will put the LD_LIBRARY_PATH and DYLD_LIBRARY_PATH into the environment variables, etc. Start googling: imagemagick paperclip identify
Let me know how it works out, and post your solution if you find one.
Thanks for the answer. Setting Paperclip.options[:command_path] = "/usr/bin" was enought to solve. On my Ubuntu 10.4 infact, I have got that LIBRARY on /usr/bin.
Hi, I get this error trying to create a new gallery :
2 errors prohibited this gallery from being saved
There were problems with the following fields:
All the rest seems ok. Do you have any idea of what's going on ?
Thanks in advance
Luca
The text was updated successfully, but these errors were encountered: