Project

General

Profile

Actions

Bug #81096

open

Images wrongly cropped in translated pages

Added by Christian Toffolo almost 7 years ago. Updated almost 5 years ago.

Status:
Accepted
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Start date:
2017-05-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

sys_file_metadata stores width/height of an image in the record with sys_language_uid=0 while in the translated records with sys_language_uid!=0 width/height are 0.

Then \TYPO3\CMS\Frontend\Page\PageRepository::getRecordOverlay() overlays the right dimensions in the $row with the 0 from $olrow even if TCA of sys_file_metadata has 'l10n_mode' => 'exclude' for the fields 'width' and 'height'.

The image then is often wrongly cropped in the translated pages.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #80724: Image width="0" and height="0" on translated metadataClosed2017-04-06

Actions
Related to TYPO3 Core - Bug #87162: Width and Height in translated meta data records not updated, when original file is replacedClosed2018-12-14

Actions
Actions

Also available in: Atom PDF