Media Library Image Alternate Text

Daniela Goada asked on February 5, 2020 10:07

Is there a decent solution about having alt text in media images in versions 10+? I can only find medieval, not very useful, stuff regarding this in the documentation.

Recent Answers


Dat Nguyen answered on February 5, 2020 12:44

If you provide titles for images in the Media library, you can retrieve the title in code with the MediaFileInfo.FileTitle property and then use that title as the alt text.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.