From 455551d10f1c2c85b3cefb629c530e16830c956f Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 16 Oct 2021 10:03:28 -0700 Subject: [PATCH] Fix for legacy news image paths. --- e107_core/shortcodes/batch/news_shortcodes.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_core/shortcodes/batch/news_shortcodes.php b/e107_core/shortcodes/batch/news_shortcodes.php index c127d44b3..f35d9ffce 100644 --- a/e107_core/shortcodes/batch/news_shortcodes.php +++ b/e107_core/shortcodes/batch/news_shortcodes.php @@ -502,13 +502,14 @@ class news_shortcodes extends e_shortcode 'alt' => basename($srcPath), 'style' => $style, 'placeholder' => varset($parm['placeholder']), + 'legacy' => '{e_IMAGE}newspost_images' ); if(!empty($parm['loading'])) { $imgParms['loading'] = $parm['loading']; } - + $imgTag = $tp->toImage($srcPath,$imgParms);