Pan over images layers create depth

My title may be a bit confusing but this is because I’m confused.
I’m looking for a tutorial to explain how to create an effect, but I can’t search for it because I don’t know what it’s called.

I wan’t to pan over an image where there are multiple layers and the front layer is moving faster then the background layer, like this, creating the effect of perspective and depth of field.

On google and forums I can’t find anything on the keywords I use. I’m told that it’s called “postcarding” but that doesn’t result in anything too.

Can someone please help me get started.

Thanks