People are getting killed for images of the Prophet Muhammad. Not because these images show the Prophet with a big nose or red hair, and it’s not because Islamic law forbids the images. It’s simply because the world contains idiots.
The most obvious solution to prevent murders like this is not to make images of the Prophet Muhammad. People don’t poke a bear in the forest. Poking bears results in bad outcomes. Plus, no-one needs an image of the Prophet Muhammad, and that’s the actual teaching the idiots are misunderstanding.
The second most obvious solution to prevent murders like this is for idiots not to get angry when someone does make an image of the Prophet Muhammad. It’s like the environment. If you ignore it, it will go away. More so, those who make these images will get judged for their actions in death, possibly by God, possibly by being sent to art class for all eternity.
Importantly though, Islamic law does state that killing people isn’t good. So it’s worth saying that the murderers claiming to be acting in good faith are violating their faith far worse that those they are killing. This means that when the murderers die they’re going straight to Hell, do not past Heaven, do not to collect Eternal Praise.
But consider this, one of the Ten Commandments forbids the making of graven images, yet Judaism and Christianity does make images of Jesus, and in the Buddhist faith the Buddha said he didn’t want images of himself made as worshipping images is contrary to finding a personal inner peace, though big Buddha’s have been made as points of worship. So it seems other religions also have their share of idiots.