[TYPO3-english] chgallery and ATagParams

Tomaz Zaman tomaz at optiss.si
Sat May 16 13:44:29 CEST 2009


Hey, i'm configuring chgallery and i have a small problem, i would like 
to add a class only to every fourth image. When trying optionSplit i 
don't get the desired result, so i would ask for some help.

This is my current TS for the gallery:

###############################################
#### Gallery configuration
plugin.tx_chgallery_pi1 = USER_INT
plugin.tx_chgallery_pi1 {
	templateFile = fileadmin/templates/gallery.html

}
plugin.tx_chgallery_pi1.gallery.image {
	file {
		maxW = 140c
		maxH = 100c
		width = 140c
		height = 100c
	}
	imageLinkWrap  = 1
	imageLinkWrap {	
		enable = 1
		typolink {
			#title.field= tx_chgalleryImage
			parameter.override.cObject = IMG_RESOURCE
			parameter.override.cObject {
				file.import.data = TSFE:lastImageInfo|origFile
				file.maxW = 800
				file.maxH = 600	
				stdWrap.postUserFunc = user_replaceSpaces
			}
			
			ATagParams =
			ATagParams {
			override = rel="lightbox[presentlb{field:uid}]"
			insertData = 1
						
		}
	}	
}
plugin.tx_chgallery_pi1.single.image {
file.width = 140c
file.height = 140c
}


What am i missing?

Tomaz Zaman


More information about the TYPO3-english mailing list