typo3typo3-8.7.x

TYPO3: how to display images in original size


Question:

How can I setup TYPO3 (env see below) to display images in click-enlarge in the original size and don't resize/crop the image.

Background:

I need to display images on some pages/page trees in the original high resolution size when click-enlargeing the image on the page. So there should be no processing of the image for displaying it.

How can this be achieved?

Just for clarification: I don't want to do this for the whole site. Nor do I want to change any code. TypoScript, CSS, template additions would be ok.

Environment

TYPO3 8.7.19

Introduction / Bootstrap package


Solution

  • Your use case is the one reported here: https://forge.typo3.org/issues/77886

    Please add to your TypoScript Setup the code reported on the note #14:

    lib.contentElement.settings.media.popup.crop.data =
    

    Note that this setting will be applied to the whole site.