Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### FRAME WRAPERS
  2. tt_content.stdWrap.innerWrap.cObject = CASE
  3. tt_content.stdWrap.innerWrap.cObject {
  4.  key.field = section_frame
  5.  100 = TEXT
  6.  100.value = <div class="slider-cont">|</div>
  7.  101 = TEXT
  8.  101.value = <div class="slider-cont gallery">|</div>
  9. }
  10.  
  11. ### CROP SCALE IMAGE BY FRAME
  12. tt_content.image.20.1 = CASE
  13. tt_content.image.20.1 {
  14.    key.field = section_frame
  15.    ## If section_frame is '101' - cropscale the images
  16.    101.file {
  17.      import.current = 1
  18.      width.override = 75c
  19.      height.override = 75c
  20.    }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement