To make modals appear when you click on an image

Hello, I’m configuring the screen using the modal template. Is there a way to expose the modal when I click the image, not the button?

Hi there,

You can take that same code that is used in the click handler in our modal template for the button and apply that to any element on the page, including the image. Just make sure to place that image in the place of where the Launch Modal Button appears

For more info on how to use click handlers and create interactivity of elements, please refer to the link below