caption
A short piece of text set with a picture, chart or film to explain or identify it; also, to supply such text.
Tell
the words printed with an image
Best when
You mean the words that go with an image or screen, and do not need to say where they sit or what job they do.
Example
“The caption under the photo named everyone in the front row.”