A Hadith Regarding Pictures
Since the whole idea of taking a picture with an idol is not likely to lead someone astray or cause misconception to the person, so it is ok