Set background image without css

I’m looking for a solution to set up background image without CSS knowledge and addition of css files. At this point, I rely on mighty powers of Vaadin. Obviously, the solution posted
here
is not appropriate for me, since I use a built-in ValoTheme and I highly want to follow my principles (use only one styling).

Is it possible to do that without CSS?

Really hacky solution, but you could try to put an Image component in an AbsoluteLayout and then your content layout there on top of it in the same AbsoluteLayout

Thanks for suggestion, but problem has been solved by common solution - make css styling and then simply add with addStyle(“v-mypicture”); Following question might be offtopic, but how do i save image quality but minimize it’s size (i’m planning to set up background image to splashscreen)?

Thanks for tips