images.Overlay with Strings?

The new images.Overlay function looks really exciting. Can arbitrary strings be overlayed onto an images, or only an image onto another image?

Thank you!

The underlying “mechanisms” work with an image object, so no, it’s not possible to add strings as images. You probably have to go one step further where a text is output into an image format and then use that for the overlay resource.

It seems to be relatively easy to add text to images:

So this feature is maybe just a written issue on the gohugo-repo away :wink: