如何从数据库调整缩略图图像的大小? [英] how to resize thumbnail images from database?

查看:96
本文介绍了如何从数据库调整缩略图图像的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要它本身需要在本周之前汇总一个项目请回复我一个简单的代码来调整图像..

i need its very urjent i need to sumbit a project before this week please reply me a simple code for resize an image..

推荐答案

引用:

(...)请回复我一个简单的代码来调整图片大小。

(...) please reply me a simple code for resize an image.



看看:

php-manual / imagecopyresampled [ ^ ]




Look at:
php-manual/imagecopyresampled[^]

引用:

(...)来自数据库的缩略图?

(...) thumbnail images from database?



如果您已将缩略图字符串存储在数据库中,则可以如下所述转换字符串:

php-manual / imagecreatefromstring [< a href =http://php.net/manual/de/function.imagecreatefromstring.phptarget =_ blank> ^ ]



备注:使用xampp-version 1.8.2 +


In case you have stored the thumbnail-string in the db you can convert the string as described here:
php-manual/imagecreatefromstring[^]

remark: the gd library is installed for sure with xampp-version 1.8.2+


这篇关于如何从数据库调整缩略图图像的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆