Would a base 64 image work in this context? They could store that in the DB as text.

You could encode the image here if you went this route https://www.base64-image.de/