Koran prohibits idolatry only. Physical depictions are prohibited in hadiths not in the Koran. From Sahih Muslim:
"Verily the most grievously tormented people amongst the denizens of Hell on the Day of Resurrection would be the painters of pictures."