Error (imagemagick + imgur)
Hello! Please help me fix this error.
When i'm installed imagemagick plugin, I can't upload any images via plugin imgur, forum shows error:
Could not execute GraphicsMagick/ImageMagick: identify "-ping" "-format" "%wx%h" "/tmp/B5eUfPLisOEiFmq11e1eYtbh.jpg" this most likely means the gm/convert binaries can't be found
@togan Do you have ImageMagick itself installed? What is the result when you drive this command?
[foo@forums ~]# which convert
Should return something akin to this:
If not, then ImageMagick binaries are either not installed or installed to some atypical location that is not in your PATH. Speaking of which, just to be thorough, also test this command:
[foo@forums ~]# echo $PATH
Which should return something similar to:
If ImageMagick is installed but not in your PATH then you need to adjust your PATH.
The above is not meant to be exhaustive diagnosis. Could be other things. Please post relevant info like:
- NodeBB version
- NodeJS version
- Host distribution
Cuz the helpers that may come after me will likely want such details. Good luck! o/
When enter this command nothing happens.
This is indicative of ImageMagick not being installed on your system. Else being installed in some non standard location unknown to Ubuntu, which I deem unlikely. You need to ensure ImageMagick is indeed installed and its binary actually available for the image-magick plugin to call. So... Heh... Been a while since I did Debian derivatives, but try driving this command:
apt install ImageMagick
ImageMagic is not installed, apt should prompt you confirm that you do, indeed, wish to install it.
ImageMagick is somehow, already installed, apt should ask for confirmation for reinstall.
In either case, select "y".
Good luck. o/