ImageMagick help please
Posted: Tue Aug 02, 2005 2:07 am
hi to all,
can someone tell me why this does not generate the thumbnail please?
this is output from convert -version
resulting in
if i run this from console (exact copy/paste from above in WinXP Pro SP2) it all works well and generates the thumbnail. But it will not generate it from web page.
any help please would be great.
kind regards,
g00fy
can someone tell me why this does not generate the thumbnail please?
this is output from convert -version
Code: Select all
Version: ImageMagick 6.2.3 06/08/05 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLCCode: Select all
$exec_cmd = "convert -geometry ";
$exec_cmd .= $thumbnail_width."x".$thumbnail_height." ";
$exec_cmd .= $local_photo_dir."/".$images_dir."/".$filename . " " . $local_photo_dir."/";
$exec_cmd .= $images_dir."/tb_".$filename;
print $exec_cmd;
exec($exec_cmd);Code: Select all
convert -geometry 100x99 C:/www/php_gallery/photos/39.jpg C:/www/php_gallery/photos/tb_39.jpgany help please would be great.
kind regards,
g00fy