convert image to string when logging clicks to account for pattern object