This of course will keep happening when the media spends a month glorying the shooter. Essentially writing a book about him. It makes troubled people want to do this.
Filming children crying for everyone to see, keeping his name/picture in the news for months to come. Yeah, people who want that attention WILL do it at some point, and who's to blame? The media when they will say how horrible this is and it shouldn't happen.