Can one trigger a Streamlit function from a picture?

I have implemented (in other parts of my app) the get_img_with_href function component, which launches a URL from a picture.

However, instead of launching a URL I want to trigger a function/page of my app. Is there a way to do this?

@randyzwitch @kmcgrady

1 Like