Home >Backend Development >PHP Tutorial >swfupload上传图片读取最大唯有100*75?

swfupload上传图片读取最大唯有100*75?

WBOY
WBOYOriginal
2016-06-13 11:50:36881browse

swfupload上传图片读取最大只有100*75??
我使用SWFUpload_v250_beta_3上传图片,然后把上传的图片$_FILES['Filedata']['tmp_name']拷贝到指定的文件夹发现,最大只有100*75,当然,我拷贝前没有经过缩略图的
------解决方案--------------------
LZ如果想要指定大小的图片,完全可以通过imagecreatetruecolor(),imagecreatefromjpeg(),imagecopyresampled()这三个函数来实现
------解决方案--------------------
我是说swfupload直接对图片进行了缩略图

有可能。你看下临时图片的大小就知道了。

Statement:
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