Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (32 loc) · 969 Bytes

AltTextForImages.rst

File metadata and controls

44 lines (32 loc) · 969 Bytes

Alt text for images

Content Type: HowTo [deprecated wiki link].

Alt text for images

Providing alt texts for images - simple (one image only) - TEXT and IMGTEXT

tt_content.image.20.1.alttext.field = imagecaption
tt_content.textpic.20.1 < tt_content.image.20.1

Providing alt text for images - advanced (more images) - TEXT and IMGTEXT

tt_content.image.20.1.alttext.cObject = TEXT
tt_content.image.20.1.alttext.cObject {
    field = imagecaption
    listNum = 0
    listNum.splitChar = 10
    override.cObject = TEXT
    override.cObject {
        listNum.stdWrap.data = register:IMAGE_NUM
        listNum.splitChar = 10
        }
    trim = 1
    }
tt_content.textpic.20.1 < tt_content.image.20.1