Translating sys_file_metadata results in width 0 and height 0
- upload image to folder
- translate metadata of image
in the database at sys_file_metadata is a new entry for the translation, but width and height is set to 0
This might not be a problem at first, but if you use a system with different crop variants the image tag of a text + image element recieves width="0" and height="0".
Debugged a little and got the point of getCroppedDimensionalProperty in GalleryProcessor. With default Crop variant set to 1:1 he tries to get a dimensional by multiplying 1*0 -> width = 0 and height = 0.
This only applies to Files with a translated meta data which results in width and height set to 0.
End result: Text + Image displays Image only in default language, if the image's meta data is translated in filelist.
TYPO3 version 8.7.8