Issue Task Closed

#64438Thumbnail size with PageTS or UserTS - Pictures are to small in backend

Quadronet no-lastname-given 01/22/15, 17:22 updated 10/18/17, 22:01

Description

For the clients it were beautiful to set the thumbnail size over PageTS or UserTS (constants), because they are to small for a lot of user.

1. typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
row: 1545
static public function thumbCode($row, $table, $field, $backPath, $thumbScript = ‘’, $uploaddir = NULL, $abs = 0, $tparams = ‘’, $size = ‘’, $linkInfoPopup = TRUE) {
// Check and parse the size parameter
$sizeParts = array(128, 128);

2. Typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php

row: 529

‘appearance’ => array(
‘useSortable’ => TRUE,
‘headerThumbnail’ => array(
‘field’ => ‘uid_local’,
  • ‘width’ => ‘45’,
    ‘height’ => ‘45c’,*
    ),

3. Typo3_src -> typo3/sysext/backend/classes/Utility/BackendUtility.php

Zeile 1545

static public function thumbCode($row, $table, $field, $backPath, $thumbScript = ‘’, $uploaddir = NULL, $abs = 0, $tparams = ‘’, $size = ‘’, $linkInfoPopup = TRUE) {
// Check and parse the size parameter
*$sizeParts = array(64, 64);*
if ($size = trim($size)) {
$sizeParts = explode(‘x’, $size . ‘x’ . $size);
if (!(int)$sizeParts0) {
$size = ‘’;
}
}

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Subtasks 1