I have a script that uploads an image and then once the image is uploaded it resizes it using imagmagick. This stopped working for me, I am now trying to determine what is causing the problem and I canot get even a simple imagemagick script to run.
<?
$src_image = "test_image.jpg";
$thumb_folder = "./";
$image_token = "new_image.jpg";
passthru("convert -geometry 25x25! $src_image $thumb_folder$image_token");
?>
This script takes test_image.jpg and resizes it to 25x25 and places the new image called new_image.jpg in the same folder.
I can get it to work on one of my sites, but it will not work on another. They are both hosted by ipowerweb and the directories that this script is in is Chmoded to 777. This should be a simple fix, but I have looked at it too long. I don't get any errors.
Thanks,
Tony