Displaying images in the autograder output #108
-
I am trying to display images in the test case outputs in the autograder using markdown.
However, no images are being displayed. I just see something like the following: The images I am trying to display are within /autograder/results and the image path I specify is relative to the results directory. I have tried absolute path as well and get the same output. What is the issue? Does Gradescope support displaying images within the autograder outputs? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Solved using this method for embedding image data into html |
Beta Was this translation helpful? Give feedback.
-
Embedding images with base64 (as in the accepted answer above) is something that I added to my own fork of the gradescope-utils python testing library in case anyone comes here looking for a tool like this. |
Beta Was this translation helpful? Give feedback.
Solved using this method for embedding image data into html
https://jsfiddle.net/MH7gF/