[TYPO3-core] RFC#15079 Feature: TYPO3 misses an SpriteGenerator
Xavier Perseguers
typo3 at perseguers.ch
Sat Aug 7 16:34:44 CEST 2010
Hi,
> > - CSS could be even more optimized when all icons of a group do not have
> > the most common size. In such case, let's take a few 128x128 icons, the
> > base class that gives the image to use says 16x16 as size but then
> > override in single sprite the height/width to use 128x128. This could be
> > optimized to say 128x128 in the base definition and not override this
> > after that.
>
> if you have an idea how to implement it easy without having a big
> refactoring
Idea seems not that tricky: instead of having a "global" defaultHeight,
defaultWidth, use an array with defaultHeight/Width per subdirectory,
that's it!
Xavier
More information about the TYPO3-team-core
mailing list