Commit 45f2e835 authored by sgalinsk's avatar sgalinsk

[BUGFIX] tx_ttnews_imageMarker hook doesn't use tt_news flexform size values

Fixes: #29289


git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/pmkshadowbox/trunk@76528 735d13b6-9817-0410-8766-e36946ffe9aa
parent f056ee68
......@@ -41,6 +41,11 @@ class tx_ttnews_imageMarker extends tslib_pibase {
$this->pi_loadLL();
$this->conf = &$tt_news->conf;
if ($tt_news->config['FFimgH'] || $tt_news->config['FFimgW']) {
$lConf['image.']['file.']['maxW'] = $tt_news->config['FFimgW'];
$lConf['image.']['file.']['maxH'] = $tt_news->config['FFimgH'];
}
$this->makeImageMarkers($row,$lConf,$tt_news,$parentMarkerArray);
return $parentMarkerArray;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment