Skip to content

[BUGFIX] Fix image width calculation in ImageVariantsUtility.php#1577

Open
stephankellermayr wants to merge 1 commit into
benjaminkott:masterfrom
stephankellermayr:master
Open

[BUGFIX] Fix image width calculation in ImageVariantsUtility.php#1577
stephankellermayr wants to merge 1 commit into
benjaminkott:masterfrom
stephankellermayr:master

Conversation

@stephankellermayr
Copy link
Copy Markdown
Contributor

Pull Request

Related Issues

Prerequisites

  • [ X] Changes have been tested on TYPO3 v11.5 LTS
  • [ X] Changes have been tested on TYPO3 v12.4 LTS
  • [ X] Changes have been tested on TYPO3 v13 LTS
  • [ X] Changes have been tested on PHP 8.0
  • [ X] Changes have been tested on PHP 8.1
  • [ X] Changes have been tested on PHP 8.2
  • [ X] Changes have been checked for CGL compliance php-cs-fixer fix

Description

To reflect the calculation of image/text widths used in SCSS in PHP code, the multiplier must first be applied and then half of the gutter subtracted.

To reflect the calculation of image/text widths used in SCSS in PHP code, the multiplier must first be applied and then half of the gutter subtracted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] wrong image width calculation in ImageVariantsUtility.php

1 participant