I don't know if that helps Danielle1234. basically you not to make images likeness of God, or heavenly. Not that you can take photos of Jesus. But to God its considered as making an image, to worship. When we should be worshiping God in spirit.
In other countries, they make statues of cows, and other animals and worship them as gods. But can a statue heal? can a statue answer prayers? can they hear prayers? Its kind of paganism, were they have things like a doll, or an object and worship them as lucky charms.
God can be jelous. so if he sees his children worshiping gods, he can get jelous. So i hope that helps. so to answer your question if photography is sin? well No its not, But its the content you taking pics of can lead to sin. I.E Pornography, or anything perverted, nude, or sex then yes those content can lead to sin.