A man who posted abusive messages on memorial websites dedicated to dead children was jailed for 18 weeks and banned from using social networking sites for five years.
Sean Duffy, 25, admitted posting images on Facebook and YouTube mocking the deaths of four children, including Natasha MacBryde, 15, who committed suicide and was found dead on a railway line near her home in Worcestershire in February.
Reading Magistrates' Court heard that after her death, Duffy posted a video with Natasha's face imposed on Thomas the Tank Engine to a Facebook tribute page set up by her brother. He posted comments including, "I fell asleep on the track lolz."
Her father, Andrew MacBryde, told the court Duffy's actions had "added to the horror of dealing with the death of [their] beautiful daughter".
Duffy, who had posted the images using false details, was traced by police through information from his internet service provider and arrested.