你的javascript返回了,当然看不到生成后的缩略图啦...你先把history.go(-1)禁了先...然后再看看有没有生成出来

解决方案 »

  1.   

    已经生成图片文件为$newname,
    如果这个文件目录能够通过WEB浏览的话.
    直接将其传给要显示的div或者什么的.
      

  2.   

    Warning: imagecreatefromjpeg(/classmate/CIMG3328.JPG) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /webhome/ltasiacomcn/web/www/888/action.php on line 265Warning: imagesx(): supplied argument is not a valid Image resource in /webhome/ltasiacomcn/web/www/888/action.php on line 266Warning: imagesy(): supplied argument is not a valid Image resource in /webhome/ltasiacomcn/web/www/888/action.php on line 267Warning: Division by zero in /webhome/ltasiacomcn/web/www/888/action.php on line 268Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /webhome/ltasiacomcn/web/www/888/action.php on line 269Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /webhome/ltasiacomcn/web/www/888/action.php on line 270Warning: imagejpeg(): supplied argument is not a valid Image resource in /webhome/ltasiacomcn/web/www/888/action.php on line 272
    麻烦翻译一下了
      

  3.   

    265是这句       $src = imagecreatefromjpeg($image) ;
      

  4.   

    imagecreatefromjpeg(/classmate/CIMG3328.JPG) 
    没找到/classmate/CIMG3328.JPG这个文件.
    觉得你应该用相对目录比较好.
      

  5.   

    你的路径写错了,不知道你的根目录是什么,webhome?ltasiacomcn ?web?888?还是www?
    应该是/classmate/CIMG3328.JPG这个路径不对引起的错误~你去查看下