1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

fix #4607 banner correct size on news detail page

This commit is contained in:
Jimako 2021-10-24 22:53:40 +02:00 committed by GitHub
parent 4d88e6575e
commit a275e7a8cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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']
}
}
}