i don’t know what Image Box.
But if you’re talking about an image with link just remove the link and restore the link when ever you need.
const link = 'https://some-domain.com/image1.png';
$w.onReady(() => {
$w('#image1').link = '';
$w('#button1').onClick(() => $w('#image1').link = link);
})