Two Gloucester County men appeared in federal court in Camden on child-pornography charges Friday. One was sentenced for advertising images, the other pleaded guilty to possession.