Apply image cropping to click-enlarged images
- TYPO3 7.6
- CSS Styled Content
- Image with cropping definition and click-enlargement (zoom) enabled
The image tag has applied the cropping as expected. However, the click-enlarged version (lightbox or window) still shows the original image.
A work-around for the TypoScript of CSS Style Content might be:
tt_content.image.20.1.imageLinkWrap.crop.data = file:current:crop
Lightbox showing click-enlarged image without cropping; regular rendering in the background with cropping: