I understand what you mean . But usually in the language of english, a pronoun(in this case him) is used immediately after the noun(husband).
And as to referring to the husband's photograph as him , it is a case of anology which is commonly used in puzzles. If I had not used that anology , there would be no puzzle in this case.