Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gueff/idolon
Idolon is a PHP Image Server that can be used to get variations of your original images. Idolon resizes on the fly, serves the resized result directly and also saves the result.
https://github.com/gueff/idolon
idolon php php-library
Last synced: about 1 month ago
JSON representation
Idolon is a PHP Image Server that can be used to get variations of your original images. Idolon resizes on the fly, serves the resized result directly and also saves the result.
- Host: GitHub
- URL: https://github.com/gueff/idolon
- Owner: gueff
- Created: 2017-11-23T11:12:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-22T17:18:49.000Z (almost 5 years ago)
- Last Synced: 2024-12-02T11:19:52.375Z (about 2 months ago)
- Topics: idolon, php, php-library
- Language: PHP
- Homepage:
- Size: 253 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Idolon
A PHP Image ServerIdolon is a PHP Image Server that can be used to get variations of your original images. Idolon resizes on the fly, serves the resized result directly and also saves the result.
## Requirements
- PHP 7
- imagemagick's convert Method
- therefore, get imagemagick installed on your Operating System
- e.g. Linux: `$ sudo apt-get install imagemagick`
- @see https://www.imagemagick.org/script/index.php, https://github.com/ImageMagick/ImageMagick## Installation
create the composer.json file with following content:
~~~
{
"require": {
"gueff/idolon":"1.1.2"
}
}
~~~run installation
~~~
$ composer install
~~~## Usage
Frontend HTML
~~~
~~~
Backend example.php
~~~php
setImagePath(/path/to/my/image/folder/)
->serve();
~~~**see example folder**