Zum Inhalt springen

Bildunterschrift nur bei zoom

Erstellt am 4. Februar 2004 · 1 Antwort · letzte Antwort am 4. Februar 2004

Tags: Inhaltselemente, Bilder, Frage

netzmensch ·

Hi Typo3 Forum,

ich möchte beim Textpic nur eine Bildunterschrift bei der Einstellung "Bild vergrößern" zulassen, bzw. eine anderen Wrap zuweisen.

Mit conditions dachte ich mir das so:

tt_content.textpic.20
{

caption.1.fontTag.if.value = 1
caption.1.fontTag.if.isLessThan.field = image_zoom
caption.1.fontTag.if.fontTag = <span class="caption">|</span><hr>
}

Geht aber nicht! :-(.

Hat eine/r einen Tipp ?

netzmensch ·

Hallo Forum,

habe die Lösung selber gefunden:

tt_content.textpic.20 {
borderCol = #A52641
maxWInText = 350
borderThick = 1
caption {
1.spaceBefore = 0
1.fontTag = <span class="imgcaption">|</span>
}
}
#######################################################
# backup orignal

temp.imgtextbox < tt_content.textpic.20
tt_content.textpic.20 >

#put a CASE object in the original place
tt_content.textpic.20 = CASE
tt_content.textpic.20.key.field = image_zoom

# DEFAULT
tt_content.textpic.20.default < temp.imgtextbox

# IMAGEZOOM
tt_content.textpic.20.1 < tt_content.textpic.20.default
tt_content.textpic.20.1.caption {
1.fontTag >
1.fontTag = <span class="imgcaption">|</span> <br /><img src="fileadmin/img/imagezoom.gif" border="0">
}