Skip to content
/ idolon Public

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.

Notifications You must be signed in to change notification settings

gueff/idolon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Idolon

A PHP Image Server

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.

Requirements

Installation

create the composer.json file with following content:

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

run installation

$ composer install

Usage

Frontend HTML

<!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

<?php

// Idolon Class
require_once 'Idolon.php';

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

see example folder

About

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.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published