Hi Debnz,
The officer in the foreground wears Staff tabs on his lapels so is likely a member of the General Staff, perhaps visiting the front lines on inspection.
The man in the background (likely also an officer) wears the uniform of a Scottish regiment. His trousers might be is tartan (you can just discern the lines between the colours) although his jacket would be khaki-coloured.
I would date the uniform to World War I or later.
Can you provide some biographical information about the individual in the photograph, please? This would help enormously.
And you might get more helpful replies on the Armed Forces Board. Would you like me to move it over?
Spades
Edited.