1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Closes #5365 Image alt attribute management via Media Manager. Test added.

This commit is contained in:
camer0n
2024-12-19 13:17:32 -08:00
parent 176f8eb325
commit b25e60888b
7 changed files with 132 additions and 38 deletions

View File

@@ -493,7 +493,7 @@ class news_shortcodes extends e_shortcode
}
$style = !empty($this->param['thumbnail']) ? $this->param['thumbnail'] : '';
$alt = !empty($parm['alt']) ? $parm['alt'] : basename($srcPath);
$alt = !empty($parm['alt']) ? $parm['alt'] : '';
$imgParms = array(
'class' => $class,