Image generator based on a string value