Render with a photo background

How can i render my scene with a photo background? I use a hdri background for lighting and i want to render another photo image as a background.When i render entire background looks transparent.

You can place the photo as a plane in the background of the scene. Make sure it is only visible to the camera but invisible to the surrounding objects. There are checkboxes to do this:

The alternative method is to add it as an image in the compositor, and you can use the alpha over node to mix the rendered part and the image. Alpha over means that the ground and all objects are untouched, but the transparent background is replaced with the other image.