For many of the reasons well outlined here
https://meta.stackoverflow.com/q/303812/5317130
it is stackoverflow policy to post code and error messages as text.
StackOverflow Help Center: How to Ask a Good Question
DO NOT post images of code, data, error messages, etc. - copy or type the text into the question. Please reserve the use of images for diagrams or demonstrating rendering bugs, things that are impossible to describe accurately via text. For more information please see the Meta FAQ entry Why not upload images of code/errors when asking a question?
Is the same policy relevant here?