[TYPO3-english] tt_content.image & GIFBUILDER
I.Sprock | Idar Creative
mail at idar.nl
Wed Nov 24 13:56:08 CET 2010
Hi,
I'm a bit further.
It does merge JPG images
png with png works fine
gif with png works fine
jpg with each other image format does not work!
Where do I need to look to solve this matter?
Kind regards.
"I.Sprock | Idar Creative" <mail at idar.nl> schreef in bericht
news:mailman.1.1290601053.6282.typo3-english at lists.typo3.org...
> Hi Folks,
>
> The following code looks very straight forward to me, but it really
> doesn't work!
>
> It only shows the background image. (typo3temp/GB/5737ab5b6a.png)
> But the image from the CE (textpic/ images) does not show!
> (Both array 30, 40 works!)
>
>
> What I'm missing?
> Using TYPO3 version 4.4.4 with Templavoila 1.5.2
>
> # ---- Code ----------
> tt_content.image.20.1.file >
> tt_content.image.20.1.file = GIFBUILDER
> tt_content.image.20.1.file {
> import.current = 1
> XY = 182,182
> # Get the background image
> 10 = IMAGE
> 10 {
> file = {$RootLoc}/images/mail-bgimage.png
> file.width = 182
> file.height = 182
> }
> # Put real image on top of it
> 20 = IMAGE
> 20 {
> file.import.current = 1
> file.width.field = imagewidth
> file.width = 140m
> file.height = 140m
> offset = 21,21
> }
> #30 = BOX
> #30 {
> # dimensions = 21,21,140,140
> # color = green
> #}
> #40 = TEXT
> #40.text = Hello World
> #40.offset = 10,10
> }
> ----------------------------------
>
> Kind regards,
>
> Idar
>
>
>
>
More information about the TYPO3-english
mailing list