xperseguers / t3ext-image_autoresize

TYPO3 Extension image_autoresize. Simplify the way your editors may upload their images.
https://extensions.typo3.org/extension/image_autoresize
GNU General Public License v3.0
16 stars 22 forks source link

4th Argument of indexFile must be of type int, float given #48

Closed froemken closed 3 years ago

froemken commented 3 years ago

Hello,

while uploading a file in FE context I get the error message:

Argument 4 passed to Causal\ImageAutoresize\Utility\FAL::indexFile() must be of type int, float given, called in ...CoreResourceStorageEventListener.php on line 192

Can you please cast the values of static::$metadata['COMPUTED']['Width'] and static::$metadata['COMPUTED']['Height'] in FileUpload.php to int?

Nice greetings

Stefan

mediaessenz commented 3 years ago

Please also in the CoreResourceStorageEventListener Class