Hello-
I have installed ImageMagick on my server here, and am trying to verify that it works from PHP.
I have tried a few different code snipits - I get no errors, but it seems that nothing happens when I run them.
I have tried a variety of things -
setting permissions on the image and directory I wish to write from/into to 777
different ways of executing the code (exec or system calls)
The latest Code looks like this:
<?
$convert = "/usr/local/bin/convert";
$in_img = "/home/virtual/site22/fst/var/www/html/images/test.jpg";
$out_img = '/home/virtual/site22/fst/var/www/html/thumbnails/test_thumb.jpg';
$create_thumb = "$convert $in_img -geometry 125x125 $out_img";
system($create_thumb);
echo "<img src='thumbnails/test_thumb.jpg'>";
?>
Any ideas?