Re: Taking Photo's
[Sahih Bukhari: Volume 3, Book 34, Number 428]
(sal-allahu-alleihi-wasallam)Narrated Said bin Abu Al-Hasan (Radi Allah Anhu) : While I was with Ibn 'Abbas (Radi Allah Anhu) a man came and said, "O father of 'Abbas(Radi Allah Anhu)! My sustenance is from my manual profession and I make these pictures." Ibn 'Abbas (Radi Allah Anhu) said, "I will tell you only what I heard from Allah's Apostle. I heard him saying, 'Whoever makes a picture will be punished by Allah till he puts life in it, and he will never be able to put life in it.' " Hearing this, that man heaved a sigh and his face turned pale. Ibn 'Abbas (Radi Allah Anhu) said to him, "What a pity! If you insist on making pictures I advise you to make pictures of trees and any other unanimated objects."
Yes the trees are fine because they non-living things. Right after that the mention of any other unanimate object. Meaning it was unknown at that time that trees are living things.
If you are interested "Bal Ki Khal nikalein."