Task #78600
closedReplace getimagesize() by \TYPO3\CMS\Core\Type\File\ImageInfo()
100%
Description
The php method getimagesize()
doesn't support all moderns file types like svg
that's why \TYPO3\CMS\Core\Type\File\ImageInfo()
was introduced.
Replace all getimagesize()
calls throughout the core to increase image support.
$imageInfo = GeneralUtility::makeInstance(FileType\ImageInfo::class, $fileNameAndPath); $imageDimensions = array( 'width' => $imageInfo->getWidth(), 'height' => $imageInfo->getHeight(), );
Updated by Markus Klein over 6 years ago
- Category changed from Code Cleanup to Image Generation / GIFBUILDER
- Status changed from New to Accepted
- Assignee set to Markus Klein
- Complexity set to no-brainer
Should also get a fallback to GD if IM/GM are not available.
Updated by Markus Klein over 6 years ago
- Related to Feature #20107: Image Resizing / Thumbnails with GD2 instead of ImageMagick added
Updated by Gerrit Code Review over 6 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56622
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56622
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56724
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56724
Updated by Markus Klein over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2fb7be7b073657f80fcd4d78cccb2ecf97075fdb.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Resolved to Under Review
Patch set 3 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56724
Updated by Gerrit Code Review over 6 years ago
Patch set 4 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56724
Updated by Gerrit Code Review over 6 years ago
Patch set 5 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56724
Updated by Gerrit Code Review over 6 years ago
Patch set 6 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56724
Updated by Markus Klein over 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset 71508fda24001ad764226ec4b3e62ea8a9d12c47.
Updated by Anja Leichsenring over 6 years ago
- Related to Bug #85064: the Class PathUtility cannot be found in SearchController.php on line 680 added
Updated by Stephan Großberndt about 6 years ago
- Related to Bug #85901: Bug #66827 happen again with GraphicsMagic and typo3 8.7.18 added