I would have to ask what the contents of your
Vb header or navbar is?
Somewhere have you modified something. The only thing Michael or I can figure is in your header code you have $photo defined as something else in
VB and over Photopost that variable is being reassigned by your header and is empty of course.