ysaroka/autothumb-demo
Composer 安装命令:
composer require ysaroka/autothumb-demo
包简介
Demo project for AutoThumb, PHP library to automatically create thumbnails
README 文档
README
Demo project for AutoThumb, PHP library to automatically create thumbnails.
Requirements
PHP >= 5.4 , and one of the following image extensions for PHP: Imagick or GD.
Web-server Apache with module mod_rewrite enabled.
Installation
Install demo project using the Composer package manager in document root directory of the web server (in demo used web server Apache):
$ composer create-project ysaroka/autothumb-demo ./
For nginx web server just add into the configuration file of your site the following rule before others regex rules:
location ~ (.*)-autothumb-([\w\d]+)\.([\w\d]+)$ {
try_files $uri $uri/ /autothumb.process.php?image=$1.$3&type=$2;
}
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: ISC
- 更新时间: 2016-05-22