Download the PHP package aileshe/thumb without Composer
On this page you can find all versions of the php package aileshe/thumb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aileshe/thumb
More information about aileshe/thumb
Files in aileshe/thumb
Download aileshe/thumb
More information about aileshe/thumb
Files in aileshe/thumb
Please rate this library. Is it a good library?
Informations about the package thumb
Thumb是什么?
Thumb是一个图片等比例缩放的PHP依赖,使用Thumb可以轻松生成不变形的缩略图。
安装
通过composer,这是推荐的方式,可以使用composer.json 声明依赖,或者直接运行下面的命令。
放入composer.json文件中
然后运行
基本用法
1) 生成一张缩略图
2) 生成缩略图直接输出图象到浏览器
3) 生成缩略图直接输出图象到浏览器并保存缩略图
高级用法 - 自定义缩略剪裁
如一张纵向图片在固定宽高等比例缩放后得到的缩略图必须要剪裁部分,所以要么居中剪裁,要么顶部、底部剪裁再去掉多余部分。
联系
Author: Dejan
QQ : 673008865
All versions of thumb with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3
The package aileshe/thumb contains the following files
Loading the files please wait ....