[RSS Feed/News] Move image size maps from containers to options

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
There are a few containers that are nothing but hardcoded image resizing settings. Specifically these:
PHP:

Code:
$container['avatarSizeMap'] = [
   'o' => 384,
   'h' => 384,
   'l' => 192,
   'm' => 96,
   's' => 48
];

$container['editorToolbarSizes'] = [
   'SM' => 420,
   'MD' => 575,
   'LG' => 900
];

$container['profileBannerSizeMap'] = [
   'l' => 1280,
   'm' => 640
];

The profile banner size isn't large enough to take advantage of high dpi monitors/screens, so I wanted to change it...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom