Ich hab das Problem, in tx_news die caption auf dieselbe Breite wie das Bild zu 
bringen, auf diese Weise lösen können:

FalMediaImage.html

<f:if condition="{mediaElement.description}">
        <p class="news-img-caption" style="width:<f:cObject 
typoscriptObjectPath="lib.imageInfo">Bildbreite</f:cObject>px">
                {mediaElement.description}
        </p>
</f:if>

TS:

// Bildbreite auslesen und etwas verkürzen
lib.imageInfo = TEXT
lib.imageInfo.current = 1
lib.imageInfo.setCurrent.data = TSFE:lastImageInfo|0
lib.imageInfo.setCurrent.wrap = | - 10
lib.imageInfo.prioriCalc = intval

CSS

news-single caption, .news-img-caption {
        margin-left: 5px;
}

Robert
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an