Background images

Hi
Wondered if anyone has done any code they can share to achieve the following:

I’m wanting to display two different background images depending on a tablet device view i.e.

Portrait view = image 1
landscape view = image 2

Any help is appreciated.

Thanks
Chris

On EditorX it’s easy and you don’t need any code.
If it’s the classic editor, you’ll have to do it via custom code using media query css.

See:

Thanks JD. Editor X looks by far the easiest option as I have little experience of using code. That said the cost of Ed X is crazy!