A sex offender filmed himself abusing a three-year-old girl and shared it with a paedophile in New Zealand.

Hugh Sim, 30, from Renfrew, was caught after he sent indecent images to an online chat group.

During a police inquiry in New Zealand, it was established one of the group users had logged on from the UK and an internet search uncovered the subscriber as Sim.

At the High Court in Glasgow on Wednesday, Sim was convicted of making and distributing indecent photographs of children and sexually abusing a girl over a two-year period from 2013 to 2015 at a house in Renfrew.

He was also found guilty of intentionally engaging in sexual activity in the presence of the young girl when she was aged between three and five.

Sim was originally charged with raping the girl, but that charge was withdrawn by the Crown.

Advocate depute Lisa Gillespie said: "There is no doubt that the images of the girl have been distributed because they were found by police in New Zealand.

"So at the very least they must have been distributed there."

The court heard Sim made the girl pose with a sign saying "Luke Bakes", the username of New Zealand man Drew Webb, who was caught with the images of sexual abuse.

Ms Gillespie added: "There is a chilling very modern detail of this case: a little girl in Renfrew innocently advertising herself to a paedophile in New Zealand."

Sim denied all the charges against him and claimed he was not the person who took the photographs of the girl or abused her.

The jury convicted him of five charges. He was remanded in custody by judge Johanna Johnston and will be sentenced next month.