ysaroka / autothumb-demo
Demo project for AutoThumb, PHP library to automatically create thumbnails
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ysaroka/autothumb-demo
Requires
- ysaroka/autothumb: ^0.1.0
This package is not auto-updated.
Last update: 2025-10-06 11:46:55 UTC
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;
}