#54533imgResource.noScale doesn't scale image tag
Description
Using TYPOSCRIPT, I want to display an image. I use following code. There is no image processing because I can’t install ImageMagick on my local environment (restriction).
lib.getLogo = IMAGE
lib.getLogo{
file = PATH_TO_MY_IMAGE
file{
width = 120m
height = 120m
maxW = 120
maxHeight = 120
noScale = 1
}
altText.data = ALT_TEXT
}
My image is displayed with his original size and not calculated size as it is defined in documentation :
If set, the image itself will never be scaled. Only width and height are calculated according to the other properties, so that the image is displayed resizedly, but the original file is used
In sys_file record, original size is correct.
In sys_file_processed, :
configuration =>
Array
(
[width] => 120m
[height] => 120m
[fileExtension] =>
[maxWidth] => 120
[maxHeight] => 120
[minWidth] => 0
[minHeight] => 0
[noScale] => 1
[additionalParameters] =>
)
task_type => Image.CropScaleMask
width => 0
height => 0
Seems to be broken on width / height calculation.
Environment :- Windows 7
- XAMPP + PHP 5.4.19
- TYPO3 6.1.7
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.