How to render a background image in 2.8?
To do this without making it the background of your whole scene like handle does, I reccomend the images as planes addon.

This makes your image displayed on a mesh plane, meaning it will show up as desired in the render.

First enable it in the preferences:


Then just add an image as a plane from the add menu:


And then it should show up in your scene as you want.