Verschlagwortet: imagesize

12

Imagesize und Crop abhängig von der colPos

Um Bilder nicht nur eine feste Breite in Abhängigkeit von der colPos zuzuweisen, sondern auch noch zu croppen, bentötigt man folgendes Snippet: temp.tt_content.image < tt_content.image tt_content.image = CASE tt_content.image {   key.field=colPos   0 < temp.tt_content.image   1 < temp.tt_content.image   2 < temp.tt_content.image     1.20.1.file.width >   1.20.1.file.height >   1.20.1.file {     width = 698c     height = 400c   }   2.20.1.file.width >   2.20.1.file.height >   2.20.1.file {     width = 200c     height= 150c   } }