Home > Backend Development > PHP Tutorial > php ImageJpeg 生成缩略图遇到的一个非常奇怪的有关问题

php ImageJpeg 生成缩略图遇到的一个非常奇怪的有关问题

WBOY
Release: 2016-06-13 10:17:33
Original
1155 people have browsed it

php ImageJpeg 生成缩略图遇到的一个非常奇怪的问题
使用ImageJpeg 生成缩略图
如果是:
ImageJpeg ($newimg,'../../public/images/dish/224/1331787945.jpg');就可以生成,但是如果是:
$path ='../../public/images/dish/224/1331787945.jpg'; 
ImageJpeg ($newimg,$path);

却生成不了

在线等......

------解决方案--------------------
不应该,除非你写错了

有错误提示吗?

------解决方案--------------------
错误提示~~

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template