TYPO3 news / tx_news – crop images in list and detail view

You can define the width and height of an image in your Typoscript by including the following code:

Now you are able to access those values like this in your Fluid-Template like this:

This will display the cropped image (300x150px).

Use this code if you only want the URL of the image:

 

Leave a Reply

Your email address will not be published. Required fields are marked *