--- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php Do Nov 28 12:44:09 2013
+++ typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer_new.php Do Nov 28 12:43:09 2013
@@ -1338,7 +1338,12 @@
} else {
$params = isset($conf['params.']) ? ' ' . $this->stdWrap($conf['params'], $conf['params.']) : '';
}
- $theValue = 'getBorderAttr(' border="' . intval($conf['border']) . '"') . $params . $altParam . (!empty($GLOBALS['TSFE']->xhtmlDoctype) ? ' /' : '') . '>';
+ if (isset($conf['setWidthHeightAttr']) && !$conf['setWidthHeightAttr']) {
+ $widthHeightAttr = '';
+ } else {
+ $widthHeightAttr = 'width="' . $info[0] . '" height="' . $info[1] . '"';
+ }
+ $theValue = 'getBorderAttr(' border="' . intval($conf['border']) . '"') . $params . $altParam . (!empty($GLOBALS['TSFE']->xhtmlDoctype) ? ' /' : '') . '>';
$linkWrap = isset($conf['linkWrap.']) ? $this->stdWrap($conf['linkWrap'], $conf['linkWrap.']) : $conf['linkWrap'];
if ($linkWrap) {
$theValue = $this->linkWrap($theValue, $linkWrap);