From 8a2c577823b69117af8eda9b1a46bfbcae8153c6 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 8 Jul 2024 17:22:30 -0400 Subject: a few fixes, just a few.... --- src/web/helpers/image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/web/helpers/image.php') diff --git a/src/web/helpers/image.php b/src/web/helpers/image.php index c18154a..fd395b5 100644 --- a/src/web/helpers/image.php +++ b/src/web/helpers/image.php @@ -30,7 +30,7 @@ function __make_source( $media = ''; } $main = $GLOBALS['main_model']; - $path = $main->get_url('public/' . $name . '.' . $format); + $path = $main->get_url('public/' . $name . '.' . $format, TRUE); $mime = __get_mime($format); return sprintf('', $mime, $path, $media); @@ -69,7 +69,7 @@ function image( $format = end($formats); $main = $GLOBALS['main_model']; - $path = $main->get_url('public/' . $name . '.' . $format); + $path = $main->get_url('public/' . $name . '.' . $format, TRUE); $out .= "