From 708594d32ffe779cf547c816fa7cdd19d095be2e Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 20 May 2024 17:11:38 -0400 Subject: v2 done --- src/web/helper/image.php | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) (limited to 'src/web/helper') diff --git a/src/web/helper/image.php b/src/web/helper/image.php index 8815a6c..1b6650f 100644 --- a/src/web/helper/image.php +++ b/src/web/helper/image.php @@ -1,6 +1,14 @@ '; } else if ($click) { @@ -16,7 +29,22 @@ function image($src, $class = NULL, $link = NULL, $click = NULL): string { } else { $content .= ''; } - $content .= ''; + if ($mime) { + $content .= '