Help change text pdf for an image

The text is currently coming from the call to $galley->getGalleyLabel() in the line @asmecher mentioned.

Did you get this working from the previous question?

The process here will be similar.