Alright, question.
I've got my PHP set up like so:
copy($userfile,$dir.'thumb_'.$userfile_name);
//system('convert -geometry 33% thumb_$userfile_name thumb_$userfile_name');
exec ("/usr/bin/X11/convert -geometry 33% $dir.thumb_$userfile_name $dir.thumb_$userfile_name");
copy($userfile,$dir.$userfile_name);
But I can't get this to convert the image. It copies my image as I want it to, but no thumbnail.
What am I missing?
Thanks,
Eve
PS. Also tried this:
exec ("/usr/bin/X11/convert -geometry 33% $dir.thumb_$userfile_name -geometry 33% $dir.thumb_$userfile_name -geometry 33%");
and this:
$dir2="/www/shop.pittsburghlive.com/demos/imagemagick/images/";
exec ("/usr/bin/X11/convert -geometry 33% $dir2.thumb_$userfile_name $dir2.thumb_$userfile_name");