A picture taken by the device led the police to
A thief who stole an iPad from his neighbour was caught after the device automatically posted a photograph to an online storage service.
John Jeffries, 43, from Bute Drive in Perth took the iPad on 2 November.
However, unbeknown to Jeffries, the owner of the tablet had set it up to automatically store any pictures taken to the iCloud website.
Jeffries was traced after a picture led police straight to him. He was jailed for eight months.
Perth Sheriff Court heard that after stealing the iPad from his neighbour's home, a picture was taken on the device which went straight to the Cloud.
The owner was then notified that new pictures had been sent.
The pictures later led police to the iPad's exact location and to Jeffries.
Fiscal depute Jim Eodanable told the court that Jeffries was a career criminal who had committed 72 crimes in a decade.
He added: "A photograph was taken which was uploaded to the Cloud and information from there led to the location."
Jeffries, 108 Bute Drive, Perth, admitted breaking into a house and stealing two iPads on 2 November. He also admitted stealing food from the Co-op on 17 August.
Solicitor David Holmes, defending, said: "He is a person who has had a longstanding drug difficulty. He has three children and four grandchildren. He is a person of some intelligence.
"He has decided he is not going to involve himself in this sort of behaviour again and is going to focus on his family and resolves to be free of drugs."