Does anybody know how I can change the body background-image without modifying CSS?
You should change the SASS files and not the CSS files.
Again, HTMLSnippet, JS mode, something like this
if the contextobj is not null the
build a file?id url using the guid
change the attribute style of your body/whatever dom element
or generate and serve up css from a request handler/rest blue block thingy