Issue Bug Closed

#65842Cropping Images in GIFBUILDER is broken since TYPO3 CMS 6.2.10

Gute Botschafter 03/19/15, 12:10 updated 10/23/17, 21:48

Description

Instead of getting a scaled and then cropped version of the image I seem to get a crop with the given dimensions starting at the top left corner of the original image.
The following snippet worked in TYPO3 CMS 6.2.9 and breaks in 6.2.10 and 6.2.11:

10 = IMAGE
10 {
  file = GIFBUILDER
  file {
    XY = 700, 344
    format = jpg
    10 = IMAGE
    10 {
      file.import = uploads/tx_templavoila/
      file.import.current = 1
      file.import.listNum = 0
      file.width = 700
      file.height = 344c
    }
  }
}

Downgrading to TYPO3 6.2.9 gives the expected result, the image is being scaled to fit around the given box and then cropped to the required size.

Reviews 2