Actions
Bug #72965
closedf:uri.image doesn't really crop the image
Start date:
2016-01-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
{f:uri.image(image: file, width: 100c, height: 100c)}
should create a 100x100px crop of the central portion of the image.
Instead it wrongly creates a 100x100px version of the whole image distorted to look square.
See attached image.
Files
Updated by Ian Solo almost 9 years ago
Sorry, not a bug but my mistake cause I forgot that in this case the values must be wrapped with quotation marks like this: {f:uri.image(image: file, width: '100c', height: '100c')}
If the values are not wrapped with quotation marks they are converted to integer "100".
Btw, an error message could be useful.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed
Actions