MARLBOROUGH — A local man is alleged to have had more than 500 images and videos depicting child pornography on his phone.