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

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

WBOY
WBOYOriginal
2016-06-13 12:04:57912browse

php处理从数据库中调出来的图片,路径里面有这个图片、
我想把数据库中查询出来的图片修改一下大小,生成一个缩略图显示。怎么做,我知道数据库只是存了路径,真正的图片不知道怎么修改、。
------解决方案--------------------
php有提供gd2或imagick 呀
------解决方案--------------------
知道图片路径就可以取得图片资源了,然后再裁缩略图

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