[TYPO3-english] rgsmoothgallery : Add filename as watermark

Patrick Gaumond gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com
Fri Aug 28 19:04:28 CEST 2009


rgsmoothgallery already provide example of watermarking:

http://typo3.org/documentation/document-library/extension-manuals/rgsmoothgallery/1.5.1/view/1/5/#id4211675

Is it possible with TS to get the filename instead of applying current 
year ? In other word replace "text.data = date:Y".

plugin.tx_rgsmoothgallery_pi1 {
   big2 = IMG_RESOURCE
   big2 {
     file = GIFBUILDER
     file {
       XY = [10.w],[10.h]
       10=IMAGE
       10 {
         file.maxW=460
         file.maxH=345
       }
       20=TEXT
       20 {
HERE => text.data = date:Y <=== HERE
         text.noTrimWrap = |(c) | by somebody |
         align=right
         offset=0,[10.h]-45
         fontSize=10
         fontColor=#ffffff
       }
     }
   }
}

Thanks for any advice,

Patrick


More information about the TYPO3-english mailing list