Project

General

Profile

Actions

Task #64438

closed

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

Added by Quadronet no-lastname-given almost 10 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-02-12
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Sprint Focus:

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 = '';
}
}


Subtasks 1 (0 open1 closed)

Feature #73357: Make thumbnail size in file browser configurableClosed2016-02-12

Actions
Actions

Also available in: Atom PDF