Texteditor: Show alt text from "/content/page1/01.jpg.txt" in an image

I am currently using the text editor, not the block editor.

There is an image file and an associated text file.

My steps:

/content/1_home/05.jpg.txt

Sort: 1
Title: 
Alt: Lorem ipsum
Caption: 

----

Uuid: g0nvyqrm1k05su0s

/content/1_home/05.jpg

I inserted image 5 with the text editor.

Result in the editor:

(image: file://g0nvyqrm1k05su0s)

Result in the browser:

<figure><img alt="" src="[meine site]/media/pages/home/fadf84b652-1762040194/05.jpg"></figure>

Am I correct in understanding that Kirby does not use the alt text from the file by default? Or am I doing something wrong?

The syntax of your content file is wrong. Each field has to be separated with ---- and new lines.

Works fine! Thanks : )