[BUGFIX] FAL: Image Processing doesn't respect GFX "thumbnails_png" 50/22850/3
authorBenjamin Mack <benni@typo3.org>
Fri, 19 Jul 2013 13:16:05 +0000 (15:16 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 11 Aug 2013 18:25:24 +0000 (20:25 +0200)
commit2c7c1e71d9627a02a21fa9177a002c4535467c98
tree7da85102223b22605ed5f51c4e11a0b0c5f30c7c
parentc4c9d7b983e02375c0c991f105bb3fb26e3930cf
[BUGFIX] FAL: Image Processing doesn't respect GFX "thumbnails_png"

The Task Interface of the File Abstraction Layer defines the
target file extension for graphcal tasks. Previously this was done
with the option "thumbnails_png" from the TYPO3_CONF_VARS.

However, checking for that parameter is not done anymore within
FAL/AbstractGraphicalTask. Thus, all .gif images are shown as .png
files, even though TYPO3 is not configured like that.

This can be seen when using GM, thumbnails_png=0, and creating
a preview image of an animated GIF. The preview will not be shown
for some images then.

The patch introduces the existing option back in to 6.x/FAL.

Releases: 6.2, 6.1, 6.0
Resolves: #50193
Change-Id: Ie539fe1aa1ab7366129a156be8ce9b05a5f8d5d2
Reviewed-on: https://review.typo3.org/22850
Reviewed-by: Anja Leichsenring
Tested-by: Marc Fell
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Resource/Processing/AbstractGraphicalTask.php