2017 © Pedro Peláez
 

library idolon

PHP Image Server

image

gueff/idolon

PHP Image Server

  • Sunday, April 1, 2018
  • by gueff
  • Repository
  • 1 Watchers
  • 6 Stars
  • 1,032 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Idolon

A PHP Image Server, (*1)

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., (*2)

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:, (*3)

{
    "require": {
        "gueff/idolon":"1.1.2"
    }
}

run installation, (*4)

$ composer install

Usage

Frontend HTML, (*5)

<!DOCTYPE html>
<html lang="en">
    <head></head>
    <body>

        <!-- request an image with width 250px -->        
        <img src="example.php?i=example.jpg&x=250">

    </body>
</html>

Backend example.php, (*6)

<?php

// Idolon Class
require_once 'Idolon.php';

$oIdolon = new \Idolon();
$oIdolon
    ->setImagePath(/path/to/my/image/folder/)
    ->serve();

see example folder, (*7)

The Versions

01/04 2018

dev-master

9999999-dev https://github.com/gueff/Idolon

PHP Image Server

  Sources   Download

GPLv3 GPL-3.0-or-later

The Requires

  • php >=7.0

 

by Guido K.B.W. Ueffing

php image resize php7 serve

01/04 2018

1.0.1

1.0.1.0 https://github.com/gueff/Idolon

PHP Image Server

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=7.0

 

by Guido K.B.W. Ueffing

php image resize php7 serve