[TYPO3-english] GIFBUILDER problem

Pero Peric pperic at mail.com
Sun Sep 14 12:18:41 CEST 2014


On 14.9.2014. 11:57, Jigal van Hemert wrote:
> Hi,
>
> On 13-9-2014 18:23, Pero Peric wrote:
>> I'm trying to print a BOX or TEXT on the png image with GIFBUILDER but
>> it doesn't work. So, first i load background png image and then i do
>> something like this:
>
> It's easier for people to help if you post the entire piece of
> TypoScript for this image plus the TYPO3 version you're working with.
> Otherwise it's impossible to reproduce potential problems.
>

Ok. This is code. TYPO3 ver. 4.7.19

   plugin.tt_news {
     displayList {
       image >
       image {
         stdWrap.cObject = IMAGE
         stdWrap.cObject.file = GIFBUILDER
         stdWrap.cObject.file {
           XY = 99,113
           format = png

           10 = IMAGE
           10 {
             offset = 0,0
             file = fileadmin/polaroid.png
           }

           20 = IMAGE
           20 {
             offset = 5,5
             file {
              # Import the image from the tt_news record
              import = uploads/pics/
              import.data = field:image
              import.listNum = 0
              import.override.field = image
              width = 89
              height = 77
            }

           30 = BOX
           30 {
             dimensions = 10,-10,44,10
             align = l,b
             color = black
             opacity = 50
            }
           }
         }
       }
     }



More information about the TYPO3-english mailing list