Hey all, here's my code:
if(isset($path)){
if(is_writable($path)){
exec("/usr/bin/convert $path -resize 210x158! $path");
header("Location: ".$_SERVER['HTTP_REFERER']."");
}else{
echo "Unable to resize photo.";
}
}
It just will not work. It seems like it tries to resize because I get instantly redirected but the photo is still the same size. Any help is greatly appreciated... I'm trying to call the ImageMagick function "convert" from it's installed location.