Ceri Morgan uploaded pornography onto Tesco iPad in Swansea
A Tesco customer has been given a 12-month community order after changing the display image of a demonstration iPad to a pornographic photo.
Ceri Morgan, 40, uploaded the image onto the tablet and set it as the wallpaper, Swansea magistrates heard.
He tried to remove it before realising he could not delete the image.
Morgan, who was with his son at the Tesco Extra store in Fforestfach, Swansea, at the time, admitted "causing the display of indecent matter".
He was spotted on CCTV by security staff and the police were called.
Swansea Magistrates' Court heard the picture was only seen by Tesco workers and not any members of the public when it was uploaded in October 2014.
Alex Scott, defending, said: "It was intended as a joke, it was not sexually motivated, it was an isolated and foolish decision."
Morgan must carry out 100 hours of unpaid work and was ordered to pay £85 costs and a victim surcharge of £60.