Hmm good point and very true.Also ..
How does Xenforo know where my ImageMagick Path ? / Directory ?
the directory varies from server to server.
Very odd small Gifs work fine but 1mb + don't
Small as in file size I mean. It resized a 400x400px gif just fine (it was about 400kbs)Because
the small ones do not need a resize --> No ImageMagick needed
That's not the same way sadly.(like Adobe does .... If you can see this animation .... Adobe flash was correctly installed).
Small as in file size I mean. It resized a 400x400px gif just fine (it was about 400kbs)
Yet a 200x230px at 1.2mb nope nothing just stuck on the Js screen.
http://insaneindustry.com/info.phpTo verify that ImageMagick is working
check your php info .. You should see This : View attachment 16620
This is provided by php5-imagick on a Debian with a simple apt-get (Other NIX like CentOS or RHEL .... servers need imagick.so properly compiled and added in php.ini)
As always Windows is still giving me a heartache So i'll post what worked when done
You don't have it installed.
<html> <head> <title>Test for ImageMagick</title> </head>
<body> <?
function alist ($array) { //This function prints a text array as an html list.
$alist = "<ul>";
for ($i = 0; $i < sizeof($array); $i++) {
$alist .= "<li>$array[$i]";
}
$alist .= "</ul>";
return $alist;
}
exec("convert -version", $out, $rcode); //Try to get ImageMagick "convert" program version number.
echo "Version return code is $rcode <br>"; //Print the return code: 0 if OK, nonzero if error.
echo alist($out); //Print the output of "convert -version"
//Additional code discussed below goes here.
?> </body> </html>
Well its not in your phpinfoWow ... I thought I didn't because it wasn't listed in phpinfo() but when I contacted the host they assured me it was installed.
They had me run this code:
Code:<html> <head> <title>Test for ImageMagick</title> </head> <body> <? function alist ($array) { //This function prints a text array as an html list. $alist = "<ul>"; for ($i = 0; $i < sizeof($array); $i++) { $alist .= "<li>$array[$i]"; } $alist .= "</ul>"; return $alist; } exec("convert -version", $out, $rcode); //Try to get ImageMagick "convert" program version number. echo "Version return code is $rcode <br>"; //Print the return code: 0 if OK, nonzero if error. echo alist($out); //Print the output of "convert -version" //Additional code discussed below goes here. ?> </body> </html>
Wow ... I thought I didn't because it wasn't listed in phpinfo() but when I contacted the host they assured me it was installed.
They had me run this code:
Code:<html> <head> <title>Test for ImageMagick</title> </head> <body> <? function alist ($array) { //This function prints a text array as an html list. $alist = "<ul>"; for ($i = 0; $i < sizeof($array); $i++) { $alist .= "<li>$array[$i]"; } $alist .= "</ul>"; return $alist; } exec("convert -version", $out, $rcode); //Try to get ImageMagick "convert" program version number. echo "Version return code is $rcode <br>"; //Print the return code: 0 if OK, nonzero if error. echo alist($out); //Print the output of "convert -version" //Additional code discussed below goes here. ?> </body> </html>
Ya, they've opened a ticket.
I think that ImageMagick is installed, but the imagick extension is not. We'll see.
Ok, so now I have imagick loaded and it still doesn't work. In fact, when I try to upload an avatar it sits there thinking for a bit and then just closes down but the avatar stays blank. This is the avatar I'm testing with.
View attachment 16624
Am getting this now on uploading this gif
View attachment 16621
The following error occurred:
Please enter a positive whole number.
We use essential cookies to make this site work, and optional cookies to enhance your experience.