webapp/public/image.php

12 lines
209 B
PHP
Raw Normal View History

2021-08-07 10:37:01 +00:00
<?php
require_once('../library/icon.php');
if (isset($_GET['hash'])) {
$icon = new Icon();
header("Content-Type: image/jpeg");
echo $icon->generateImageResource(md5($_GET['hash']), 60, 60, false);
}