[BUGFIX] Readd frame setting to image configuration 88/33188/2
authorManfred Rutschmann <manfred@dslr-seite.de>
Tue, 7 Oct 2014 03:36:13 +0000 (05:36 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 7 Oct 2014 14:26:20 +0000 (16:26 +0200)
The setting "frame" is missing in the processing information in
image handling.

Change-Id: I24410d28daa8017995cc9b352c328dff3f329748
Resolves: #62053
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33188
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php

index a889079..44a2099 100644 (file)
@@ -5277,6 +5277,7 @@ class ContentObjectRenderer {
                                $processingConfiguration['minHeight'] = isset($fileArray['minH.']) ? (int)$this->stdWrap($fileArray['minH'], $fileArray['minH.']) : (int)$fileArray['minH'];
                                $processingConfiguration['noScale'] = isset($fileArray['noScale.']) ? $this->stdWrap($fileArray['noScale'], $fileArray['noScale.']) : $fileArray['noScale'];
                                $processingConfiguration['additionalParameters'] = isset($fileArray['params.']) ? $this->stdWrap($fileArray['params'], $fileArray['params.']) : $fileArray['params'];
+                               $processingConfiguration['frame'] = isset($fileArray['frame.']) ? (int)$this->stdWrap($fileArray['frame'], $fileArray['frame.']) : (int)$fileArray['frame'];
                                // Possibility to cancel/force profile extraction
                                // see $TYPO3_CONF_VARS['GFX']['im_stripProfileCommand']
                                if (isset($fileArray['stripProfile'])) {