TYPO3 4.5では、最後にレンダリングされた画像のファイルサイズにアクセスするために、TSFE:lastImgResourceInfo|filesize
がありました。 TYPO3 7.6.xまたは8.7.xには同等の機能がありますか?TSFE:lastImgResourceInfo | TYPO3 7.6または8.7に相当するファイルサイズ
私はここでそれを必要とする:
70 = CONTENT
70 {
table = tt_content
select {
orderBy = sorting
where = colPos=0
pidInList.data = field : content_from_pid
max = 1
}
wrap = <enclosure type="image/jpeg" url="{$rssFeed.feedBaseUrl}|" />
renderObj = COA
renderObj {
10 = FILES
10 {
references {
table = tt_content
uid.data = uid
fieldName = image
}
renderObj = COA
renderObj {
10 = IMG_RESOURCE
10 {
file {
import.data = file:current:originalUid
width.field = imagewidth
maxW = {$rssFeed.feedImageMaxWidth}
}
}
20 = TEXT
# this used to work in TYPO3 4.5
20.data = TSFE:lastImgResourceInfo|filesize
20.wrap = " length="|
}
}
}
}