Praise be to Allah, the Lord of the Worlds; and may His blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
The ruling about hanging and exposing photograph is already discussed in Fatwa: 82040.
The exposing of photographs and pictures does not prevent the acceptance of supplications (Du’a) or other acts of worship as there is no evidence proving that.
Allah knows best.