Bug #70850
closedImage Manipulation crop setting returns a negative Y when it is set to 0
0%
Description
When the manipulation tool is used and a Y is set to 0 (against the edge) the image does not shown in the front-end anymore.
This seems to cause because the Y is saved as a negative float:
var_dump(json_decode($object->getImage()->getOriginalResource()->getReferenceProperty('crop')));
Results in:
object(stdClass)[2350] public 'x' => int 0 public 'y' => float -0.0061452118357881 public 'width' => int 512 public 'height' => float 384.13719185423 public 'rotate' => int 0
When setting Y manually to 0 the image is processed correctly again.
Updated by Arek van Schaijk about 9 years ago
For the record: this seems to affect all 7.x branches, I tested it with 7.4 and 7.5.
Updated by Arek van Schaijk about 9 years ago
Can this one get fixed in 7 LTS? I do have multiple customers who are dealing with this problem otherwise I need to make my own workaround for it...
Updated by Riccardo De Contardi over 8 years ago
- Status changed from New to Closed
I am not able to reproduce it with both 7.6.6 and the latest master (8.2-dev) using the standard text with media CE, so I close this for now.
If you think this is the wrong decision or experience the issue again or there are other tests that should be performed, then let us know (on Slack for example - https://typo3.slack.com/ ) or open a new ticket and add a relation to this ticket number. Thank you