image resizing through php
trying this to resize images with file names such as 03fest73.jpg and getting this error message:
mogrify: Unable to open file (03fest73.mgk)
this is the code:
is this a permissions issue? any idea how i could fix this and what the best way to go about securely making thumbnails (i don't want to have to chmod the images dir to 666) through php is?
mogrify: Unable to open file (03fest73.mgk)
this is the code:
exec("mogrify -size 120x120 -resize 120x120 profile \"*\" *.jpg 2>&1", $exec_output, $retval);
if($retval > 0)
echo "error: $exec_output[0]";
else
echo 'done';
is this a permissions issue? any idea how i could fix this and what the best way to go about securely making thumbnails (i don't want to have to chmod the images dir to 666) through php is?
