Criminal’s mugshot troubles Welsh police by flood of comments