[TYPO3] DAM / CType Image / jQuery Thickbox

Daniel Ditgens daniel at ditgens.net
Thu Mar 6 16:40:17 CET 2008


Hi there,

I use DAM with dam_ttcontent(CVS 2008-03-08).

I just want to use jQuery Thickbox (not the extension) instead of normal 
image zoom feature, so I modified "tt_content.image.20" in 
css_styled_content and it looks like this:

--- snip ---
tt_content.image.20 {
	1.imageLinkWrap {
		bodyTag =
		JSwindow = 0
		enable.field = image_zoom
		enable.ifEmpty.typolink.parameter.field = image_link
		enable.ifEmpty.typolink.parameter.listNum.stdWrap.data = register : 
IMAGE_NUM_CURRENT
		enable.ifEmpty.typolink.returnLast = url
		#typolink.parameter = image
		typolink.parameter.field = tx_dam_file_name
		typolink.parameter.wrap = |
		typolink.ATagParams.dataWrap = title="{field:header}" class="thickbox"
	}…
--- snip ---

The only thing is, The typolink.parameter.field doesn't work and the 
standard-link is generated:

<a target="thePicture" 
href="http://[…]/index.php?eID=tx_cms_showpic&file=[…]">
	<img width="150" height="117" border="0" alt="" src="[…]"/>
</a>

I need a database field to fill in typolink.paramenter with the correct 
path of the image (dam). I don't want to use that showpic stuff at all. 
How can I do that?

Please help,

Daniel


More information about the TYPO3-english mailing list