Issue Bug Closed

#109611Drop shadow image generation fails using imagemagick and effects

Heiko Hardt 04/16/26, 18:23 updated 04/21/26, 11:30

Description

This refers to line 951 in GifBuilder: https://github.com/TYPO3/typo3/blob/main/typo3/sysext/frontend/Classes/Imaging/GifBuilder.php#L951
This line contains a syntax error, and the ternary operator always returns “+matte”. As a result, a shadow is never rendered under ImageMagick. Placing a correct parenthesis around the ternary operator fixes the error.
e.g.:

...($GLOBALS[‘TYPO3_CONF_VARS’][‘GFX’][‘processor’] === ‘ImageMagick’ ? ‘ -alpha off’ : ‘ +matte’)...

Reviews 3

History 39

  1. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-04-17T09:00:12+00:00" > 04/17/26, 09:00 </span>

    Applied in changeset commit:cb4b394f762660c95512390c78e34e132f796f42.