It is not possible to add a picture to a WhatsApp chat. The select attachment window will open and allow you to select a file, but the selected file will never be visible in the chat.