andersundsehr / aus_driver_amazon_s3

Provides a TYPO3 FAL driver for the Amazon Web Service S3
GNU Lesser General Public License v3.0
20 stars 39 forks source link

Image Dimensions equal 0 when uploading SVG #11

Closed cehret closed 7 years ago

cehret commented 7 years ago

When uploading an SVG to S3 via the file storage, the image dimensions are set to 0 (width and height). When uploading the same SVG to standard fileadmin file storage the image dimensions are extracted correctly. If I update the image dimensions manually in the database after uploading the svg to S3, everything works fine. Otherwise I get an error in the backend when referencing this svg (devision 0) and the frontend does not display the svg because width and height are rendered to 0....

Tested on TYPO3 7.6.18 with aus_driver_amazon_s3 1.5.3 If you need more information please let me know.

Thank you

Christian

cehret commented 7 years ago

I forgot to mention that with other image formats this problem does NOT occur!