benjaminkott / benjaminkott/bootstrap_package

Incorrect image processing after replacing images with translated metadata in filelist

Open
#745 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

# Bug Report

## Prerequisites

* [x] Can you reproduce the problem on TYPO3 v9.5 LTS
* [x] Did you [perform a cursory search](https://github.com/issues?q=is%3Aissue+user%3Abenjaminkott+repo%3Abenjaminkott%2Fbootstrap_package) to see if your bug or enhancement is already reported?

## Description
Incorrect image processing after replacing images with translated metadata in filelist. Images loose their cropping definition and are shown incorrect (see Screenshots)

## Steps to Reproduce

- Add two Languages to Site Management (Ex. Deutsch/English)
- Upload Images to the Filelist (Ex. High resolution pixs)
- Add metadata and translate metadata
- Add a Page (Ex. Home)
- Add a Content Element from Type “Images Only” and set some cropping variants
- Add some Images from Filelist (Ex. 8 Images in 3 rows)
- Make new translation of this page
- Translate Content Element
- So far so fine, everything works and looks fine
- Upload by overriding existing images in filelist (for ex. lower res images – reduced resolution but same ratio)

The system should keep right cropping, but the images in the translated elements loose cropping, ratio

In some cases also the image from the default language are processed incorrect.

typo3 9.5.9 mit Bootstrap Package 10.0.6

Before overriding images
Bildschirmfoto 2019-09-02 um 13 30 10
after overriding images
Bildschirmfoto 2019-09-02 um 13 30 14

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue on TYPO3 9.5.9 with Bootstrap Package 10.0.6 using the listed multilingual filelist, translated content element, and image replacement steps. Compare the cropping and ratio before and after overriding an image, including the default-language case; done means translated and default elements retain the intended cropping.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, php
Domain
backend, internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.