[FEATURE] Make the image quality definable per sourceCollection 42/42842/7
authorChristian Seifert <christian-f-seifert@gmx.de>
Thu, 27 Aug 2015 17:54:51 +0000 (19:54 +0200)
committerAlexander Opitz <opitz.alexander@googlemail.com>
Fri, 4 Sep 2015 06:20:28 +0000 (08:20 +0200)
commite9658128335e18d22671e876270a80e39b805755
tree893b8ee9c8ea57d40287afc2b9842166a3a9dd1b
parent4ce133032f70396db7b8322396dbfbdf8f759da5
[FEATURE] Make the image quality definable per sourceCollection

At the moment the image quality of generated jpegs is configured
centrally in LocalConfiguration. Due to trying to find a balance
between image size and image quality it might be useful to enable
the configuration of the image quality for each sourceCollection
entry.

The change set enables users to p.e. render normal images with 90%
and retina images with p.e. 70%. To optionally enable the "quality"
setting for a sourceCollection, TypoScript can be configured as
followed (as example):
tt_content.image.20.1.sourceCollection.smallRetina.quality = 70

If not set, TYPO3 will take the default one of LocalConfiguration.

Resolves: #59591
Releases: master
Change-Id: Ib0e0adf8c2f91471d0ad750c974ad6ed6f41cfa1
Reviewed-on: http://review.typo3.org/42842
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
typo3/sysext/core/Documentation/Changelog/master/Feature-59591-ImageQualityDefinablePerSourceCollection.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php