Is it a sin or some type of shirk to have a picture of an ayatollah in the house for example we have a picture of khomeini on a shelf next to our tasbihs quran and other books?

No it is not a sin to have a picture of a scholar in your house but one should not pray in the direction of those pictures