mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 08:51:50 +02:00
Fix for legacy news image paths.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user