I would trace _parent.BgdImage to see if it is really grabbing the data. I bet your variable is not set correctly.