Feature #59591

Provide definable image quality for images of sourceCollection

Added by Christian Seifert over 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
Start date:
2014-06-15
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

At the moment you can add your dataKeys and set a width to the versions of the generated images.
P.e. the original image has a width of 800px and there is a data key for retina images resulting in a width of 1600px. Because of the higher file size it would be nice to decrease the image quality of jpegs to lower the file size of the scaled retina version. A key like "quality" within a data key might be good to make the image quality changeable.

Associated revisions

Revision e9658128 (diff)
Added by Christian Seifert over 4 years ago

[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 <>
Tested-by: Markus Klein <>
Reviewed-by: Alexander Opitz <>
Tested-by: Alexander Opitz <>

History

#1 Updated by Mathias Schreiber almost 5 years ago

  • Category set to Content Rendering
  • Target version set to 7.2 (Frontend)

#2 Updated by Benni Mack over 4 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)

#3 Updated by Christian Seifert over 4 years ago

  • Assignee set to Christian Seifert

#4 Updated by Christian Seifert over 4 years ago

  • Target version changed from 7.4 (Backend) to 7.5

#5 Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42842

#6 Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42842

#7 Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42842

#8 Updated by Gerrit Code Review over 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42842

#9 Updated by Gerrit Code Review over 4 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42842

#10 Updated by Gerrit Code Review over 4 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42842

#11 Updated by Christian Seifert over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#12 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF