How can I add a toggle element into an image box element? [closed]

How can I add a toggle element into an image box element? [closed]