New York state is expanding the definition of “revenge porn” punishable with fines and jail by adding another category of images that can’t be posted online without the subject’s consent.

The amendment that Gov. Andrew Cuomo signed Friday closes a loophole in the 2003 law against unlawful surveillance that bars secretly taping or broadcasting images of people undressing or their intimate parts when they reasonably expect privacy.