Sending photos and videos by WhatsApp without permission is a crime

When is the image diffused? What penalties are there for disseminating intimate photos without consent?