mirror of
https://github.com/e107inc/e107.git
synced 2025-08-27 08:14:46 +02:00
SEF URL supported for theme images (within media-manager) added. LOGO resizing is now on by default when pref is used.
This commit is contained in:
@@ -153,9 +153,14 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
|
||||
|
||||
if((isset($parm['w']) || isset($parm['h'])))
|
||||
{
|
||||
// $logo = $tp->thumbUrl($logopref,"w=".$parm['h']);
|
||||
//
|
||||
$dimensions[0] = $parm['w'];
|
||||
$dimensions[1] = $parm['h'];
|
||||
$dimensions[1] = $parm['h'];
|
||||
|
||||
if(empty($parm['noresize']) && !empty($logopref)) // resize by default - avoiding large files.
|
||||
{
|
||||
$logo = $tp->thumbUrl($logopref,$parm);
|
||||
}
|
||||
}
|
||||
elseif(!deftrue('BOOTSTRAP'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user