1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Merge pull request #4608 from Jimmi08/patch-30

Fixes #4607 banner correct size on news detail page
This commit is contained in:
Cameron
2021-10-29 10:26:24 -07:00
committed by GitHub

View File

@@ -82,6 +82,8 @@ if(!empty($menu_pref['banner_campaign']) /*&& !empty($menu_pref['banner_amount']
if(!empty($menu_pref['banner_width']))
{
e107::getParser()->thumbWidth($menu_pref['banner_width']);
e107::getParser()->thumbHeight(0);
e107::getParser()->thumbCrop(0);
}
@@ -198,4 +200,4 @@ if(!empty($menu_pref['banner_campaign']) /*&& !empty($menu_pref['banner_amount']
}
}
}