Prosecute those sharing graphic images following terror attacks