Wasserzeichen für Bilder aus einem CE (nicht RTE!):

 

// das eingebaute (kleine) Bild:
tt_content.image.20.1.file.10.file < tt_content.image.20.1.file
tt_content.image.20.1.file = GIFBUILDER
tt_content.image.20.1.file {
  format = png
  import >  
  10 = IMAGE
 
  20 = TEXT
  20 {      
    text = © Name
    fontSize = 15    
    fontColor = #F78F1E
    offset = [10.w]-[20.w]-5,[10.h]-5
  }
  XY = [10.w],[10.h]
  #maxW = {$plugin.perfectlightbox.lightBoxMaxW}
  #maxH = {$plugin.perfectlightbox.lightBoxMaxH}
}

// das große Bild (ClickEnlarge oder Lightbox):
tt_content.image.20.1.imageLinkWrap.typolink.parameter.override.cObject.file.10.file < tt_content.image.20.1.imageLinkWrap.typolink.parameter.override.cObject.file

tt_content.image.20.1.imageLinkWrap.typolink.parameter.override.cObject.file = GIFBUILDER
tt_content.image.20.1.imageLinkWrap.typolink.parameter.override.cObject.file {
  format = png
  import >  
  10 = IMAGE
  10.file.import.data >
  10.file.import.current = 1

  25 = IMAGE
  25.file = fileadmin/img/watermark.png
  25.mask = fileadmin/img/watermark.png
  
  20 = TEXT
  20 {      
    text = © Name
    fontSize = 30
    fontColor = #F78F1E
    offset = [10.w]-[20.w]-10,[10.h]-10
  }
  XY = [10.w],[10.h]
}

 

 

Wasserzeichen für Bilder aus tt_news (hier: Einzelansicht)

 

/*
# funktioniert nicht und stört später nur das einfügen des watermark im großen bild
plugin.tt_news.displaySingle.image.file.10.file < plugin.tt_news.displaySingle.image.file
plugin.tt_news.displaySingle.image.file = GIFBUILDER
plugin.tt_news.displaySingle.image.file {
  format = png
  import >  
  10 = IMAGE
 
  20 = TEXT
  20 {      
    text = © Name
    fontSize = 15    
    fontColor = #F78F1E
    offset = [10.w]-[20.w]-5,[10.h]-5
  }
  XY = [10.w],[10.h]
}
*/

// das große Bild (ClickEnlarge):
plugin.tt_news.displaySingle.image.imageLinkWrap {
  typolink {
    parameter.cObject.file.10.file < plugin.tt_news.displaySingle.image.imageLinkWrap.typolink.parameter.cObject.file
    parameter.cObject = IMG_RESOURCE
    parameter.cObject.file = GIFBUILDER
    parameter.cObject.file {
      import >
      format = png

      10 = IMAGE
      #10.file.import.data >
      #10.file.import.current = 1
      
      25 = IMAGE
      25.file = fileadmin/img/watermark.png
      25.mask = fileadmin/img/watermark.png
      
      20 = TEXT
      20 {      
        text = © Name
        fontSize = 30
        fontColor = #F78F1E
        offset = [10.w]-[20.w]-10,[10.h]-10
      }
      XY = [10.w],[10.h]
      #maxW = {$plugin.perfectlightbox.lightBoxMaxW}
      #maxH = {$plugin.perfectlightbox.lightBoxMaxH}
    }
  }
}
 
Ihre aktuelle Seitenauswahl:  
>>>