GREENSBURG, Pa.—Issuing citations to two western Pennsylvania teens for sharing a racy cellphone photo—instead of charging them with a felony—shows the states new law against sexting is working, police and a prosecutor said.