I tried adding a background image to my Anki deck. It didn’t work.
In the media collection file is added an image file titled :
image.jpg
Taking the following coding, I tried putting this in the styling section :
body {
background-image: <img src="image.jpg">;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
I also tried in place of <img src="image.jpg">
:
img src="image.jpg"
img src=image.jpg
img src='image.jpg'
None of these alternatives worked.