Project

General

Profile

Actions

Bug #105945

open

Filelist in list mode doesn’t allow to provide thumbnails for non-image files

Added by Rainer Becker about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
-
Start date:
2025-01-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

In list mode, the file list uses getFileForLocalProcessing() on storage driver to get the thumbnail.

In LocalPreviewHelper::generatePreviewFromFile() the type of the original file is required to be an image file. Provided thumbnails for non-image files (mp4, pdf ...) are replaced by an thumbnail with error message "Not imagefile".
Instead the provided thumbnail should be checked to be an valid image file.

In thumbnail mode the provided thumbnail is displayed.
(TYPO3 12 + 13)


Files

file-list-thumbnail-error.jpg (15.2 KB) file-list-thumbnail-error.jpg Rainer Becker, 2025-01-16 08:08
Actions #1

Updated by Garvin Hicking about 1 month ago

  • Category changed from Backend API to Image Generation / GIFBUILDER
Actions

Also available in: Atom PDF