Mosques?

Hi Icmelarians. I have always wanted to visit the inside of a Mosque. I do know the rules about what to wear and i also know not to go at prayer time. Are the Mosque doors always open and is it acceptable to take pics in them? I was thinking of visiting the one by the out door market. 2 more sleeps. Happy hols. Jem xxxx