Thank you very much for the code.
I am using the WP Custom Header feature – under the Appearance menu group in the admin),
but header photo is working only in home page and not in others. I don’t know why.
So I removed header photo and put Advanced Text widget and then put the code you gave me and it is working.
The same photo in all pages on header, under menu. Great.
If I want to have different photos on every pages ?