[TYPO3-core] RFC #15662: Bug: SpriteGeneration generates wrong output if there are several icons sizes which are same width and nearly same count

Susanne Moog info at susannemoog.de
Thu Oct 7 21:34:12 CEST 2010


On 07.10.2010 21:07, Steffen Ritter wrote:
> Am 07.10.2010 20:54, schrieb Susanne Moog:
>> Do you have a test scenario to test this?
> Try to generate the flag-sprite: same account of images with for each
> size: one type of the flags are at all rendered at position (0,0)

thx for the skype testing instructions :-)

tested with the zip from 15229 -> extracted -> look at sprites included
-> delete sprites -> generate sprites with code snippet:

      $generator =
t3lib_div::makeInstance("t3lib_SpriteManager_SpriteGenerator", 'flags');
      $data = $generator
       ->setSpriteFolder('typo3/sysext/t3skin/images/sprites/')
       ->setCSSFolder('typo3/sysext/t3skin/stylesheets/sprites/')
       ->setOmmitSpriteNameInIconName(FALSE)
       ->setIncludeTimestampInCSS(TRUE)

->generateSpriteFromFolder(array('typo3/sysext/t3skin/images/flags/'));

-> only half the icons are there -> apply patch -> delete sprites ->
regenerate sprites -> works :-)

therefore: +1 by testing

Susanne



More information about the TYPO3-team-core mailing list