---
title: "Bildunterschrift nur bei zoom"
url: "https://www.typo3.net/d/8802-bildunterschrift-nur-bei-zoom"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Bilder","Frage","Inhaltselemente"]
created: "2004-02-04"
last_reply: "2004-02-04"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Bildunterschrift nur bei zoom

TYPO3 › TypoScript · 1 Antwort · gestartet 2004-02-04

## Eröffnungsbeitrag

**netzmensch** · 2004-02-04 · [Beitrag #1](https://www.typo3.net/d/8802-bildunterschrift-nur-bei-zoom/1)

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 ?

## Antworten

### [#2](https://www.typo3.net/d/8802-bildunterschrift-nur-bei-zoom/2) · netzmensch · 2004-02-04

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">
}

---

Quelle: „Bildunterschrift nur bei zoom“, typo3.net, https://www.typo3.net/d/8802-bildunterschrift-nur-bei-zoom
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
