Issue Task Closed

#78458ImageViewHelper: maxWidth and maxHeight doesn't work

Björn Heinermann 10/27/16, 10:16 updated 11/08/16, 18:52

Description

Hello

We use the news extension and set the maxWidth or maxHeight value with typoscript to an own value. The default templates from news plugin use this values and gives them correct to the ImageViewHelper.
@
<f:image image="{mediaElement}" title="{mediaElement.title}" alt="{mediaElement.alternative}" maxwidth="{settings.detail.media.image.maxWidth}" maxheight="{settings.detail.media.image.maxHeight}"></f:image>
@
The ImageViewHelper get the both values but do nothing with it. The view helper use the original image width and height.

Best wishes
Björn

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.