aboutsummaryrefslogtreecommitdiff
path: root/images/isopod.php
diff options
context:
space:
mode:
authorHannah Isopod <me@bathynomus.xyz>2025-05-10 03:03:58 -0600
committerHannah Isopod <me@bathynomus.xyz>2025-05-10 03:03:58 -0600
commiteb61c1bae2ffad114e17393d91d86fb00d7ac8cd (patch)
tree4f997d73e0843dab760e5d988679a1a86b76f5da /images/isopod.php
parent4b9500ddeedbea21f80f41dfe4149cf3bf9be4c3 (diff)
Initialer commit
Just remade the repo because I don't *need* need a comprehensive source history for my personal website and this is easier than getting filter-repo to work good
Diffstat (limited to 'images/isopod.php')
-rw-r--r--images/isopod.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/images/isopod.php b/images/isopod.php
new file mode 100644
index 0000000..db01d31
--- /dev/null
+++ b/images/isopod.php
@@ -0,0 +1,15 @@
+<?php
+$size = '';
+if($_GET['small'] == 'y') { $size='_small'; }
+$isopod = 'isopod_with_aviators';
+if(date('m') == 10) {
+ $isopod = 'isopumpkin';
+} else if(date('m-d') == "09-13") {
+ $isopod = 'birthday_isopod';
+}
+$name = "$isopod$size.png";
+$fp = fopen($name, 'rb');
+header("Content-Type: image/png");
+header("Content-Length: " . filesize($name));
+fpassthru($fp);
+die; \ No newline at end of file