[TYPO3-english] GMENU with uncompressed images?

Stefan Isak stefan.isak at konplan.com
Mon Jul 6 22:48:28 CEST 2009


Hey,

I try to create a language menu with little flag images.
These images are 24bit pngs and should have a transparent background.

If I use the snippet below, the images become a little bit 'rough'.
I think this is because the images get created by Image Magick.

Is it possible to use the raw images?

lib.languagemenu = HMENU
lib.languagemenu.special = language
lib.languagemenu.special.value = 0,1
lib.languagemenu.1 = GMENU
lib.languagemenu.1.NO {
        XY = [5.w]+4, [5.h]+4
        tranparentBackground = 1
        transparentColor = white
        5 = IMAGE
        5.file = fileadmin/templates/img/de.png ||
        fileadmin/templates/img/en.png
        5.offset = 2,2
}

So long




More information about the TYPO3-english mailing list