Skip to content
Snippets Groups Projects
user avatar
Torben Hansen authored
If the PHP exif module is installed, TYPO3 uses the `exif_read_data()`
function of read exif metadata of images. In case of the image upload
functionality in TYPO3, the `exif_read_data()` function is used to
evaluate the `Orientation` exif property, which is used to decide, if
the width and height of an image should be switched before the data
is saved in the `sys_file_metadata` table. If the PHP exif module is
not available, portrait images created by modern camera systems might
be saved with wrong width and height, because the exif `Orientation`
is not respected. This might result in rending of distorted images,
when the uploaded image is processed by TYPO3 image rendering.

With this change, the system environment check is extended to
suggest to PHP exif module to be installed. If not available,
a warning message is shown in the system environment check.
Additionally, composer.json files of system extensions using
exif related functions (is av...
58ee06e6
Name Last commit Last update