TYPO3 - f:image 'crop' not working anymore after upgrade from 7LTS to 8LTS

719 views Asked by At

In 7LTS I cropped https://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/Image.html#crop an image (original 1280+852) like this:

<f:image src="EXT:myext/Resources/Public/Images/sidewalk-min.jpg" crop="160,0,960,852" />

After upgrade to 8LTS the cropping is not working anymore and instead I get the original size. What am I missing?

1

There are 1 answers

1
Pravin Vavadiya On BEST ANSWER

You can crop image in fluid like below.

<f:image src="EXT:myext/Resources/Public/Images/sidewalk-min.jpg" width="160c" height="852c" />