[BUGFIX] Get the correct crop configuration for imgResource 47/55147/2
authorWolfgang Klinger <wolfgang@wazum.com>
Thu, 17 Aug 2017 09:34:30 +0000 (11:34 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 18 Dec 2017 19:16:02 +0000 (20:16 +0100)
commit96b4ad98c3d192078c9155c4f1cf32aa8796945b
treecc4b6180f32f3b7fec929efaf50afec1d952fe6f
parent6486057b5edf7e792455ce88698bfb5a2a202081
[BUGFIX] Get the correct crop configuration for imgResource

This fix returns the right ImageManipulation\Area object
in case the imgResource "crop" value is a json string with variants.

Resolves: #82057
Releases: master, 8.7
Change-Id: Ibfc9f33ffc060992f22c1a3c7326990834f02ec4
Reviewed-on: https://review.typo3.org/55147
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php