<?php
/**
 * Run this script once to generate no-photo.png
 * Access: http://localhost/siakad/assets/img/generate_placeholder.php
 */
$img = imagecreatetruecolor(120, 120);
$bg = imagecolorallocate($img, 226, 232, 240);
$fg = imagecolorallocate($img, 148, 163, 184);
imagefill($img, 0, 0, $bg);
imagefilledellipse($img, 60, 60, 120, 120, $bg);
imagefilledellipse($img, 60, 45, 40, 40, $fg);
imagefilledellipse($img, 60, 100, 70, 50, $fg);
imagepng($img, __DIR__ . '/no-photo.png');
imagedestroy($img);
echo 'Generated: no-photo.png';
