#tt_content.image.20.1.imageLinkWrap  = fileadmin/templates/images/logo.png

// 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]-10,[10.h]-10
  }
  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 = IMAGE
  20{
    offset = [10.w]-[20.w]-10,[10.h]-50
    file=fileadmin/templates/images/smalllogo.png
    file.width = 100
    file.height = 50
  }
  20 = TEXT
  20 {      
    text = © Name
    fontSize = 30
    fontColor = #F78F1E
    offset = [10.w]-[20.w]-10,[10.h]-10
  }
  
  
  XY = [10.w],[10.h]
}
  

Advertisements