Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.9.0alpha1, 4.2.0
-
None
Description
Patch for 5.0.4:
Index: ezoe/ezxmltext/handlers/input/ezoexmlinput.php =================================================================== --- ezoe/ezxmltext/handlers/input/ezoexmlinput.php (revision 158) +++ ezoe/ezxmltext/handlers/input/ezoexmlinput.php (working copy) @@ -1070,8 +1070,16 @@ $idString = ''; $tplSuffix = ''; - if ( !$size ) $size = 'medium'; - if ( !$view ) $view = $tagName; + if ( !$size ) + { + $contentIni = eZINI::instance( 'content.ini' ); + $size = $contentIni->variable( 'ImageSettings', 'DefaultEmbedAlias' ); + } + + if ( !$view ) + { + $view = $tagName; + } $objectAttr = ''; $objectAttr .= ' alt="' . $size . '"';