Home > Backend Development > PHP Tutorial > php处理从数据库中调出来的图片,路径里面有这个图片、

php处理从数据库中调出来的图片,路径里面有这个图片、

WBOY
Release: 2016-06-23 13:51:23
Original
1051 people have browsed it

我想把数据库中查询出来的图片修改一下大小,生成一个缩略图显示。怎么做,我知道数据库只是存了路径,真正的图片不知道怎么修改、。


回复讨论(解决方案)

php有提供gd2或imagick 呀

知道图片路径就可以取得图片资源了,然后再裁缩略图

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