Links are actually containers! You can put anything inside a Link to make it clickable. Just set the text
property to an empty string to get rid of the text.
A nice idea might be to open the images in an alert, like so:
def link_1_click(self, **event_args):
"""This method is called when the link is clicked"""
alert(
Image(source=self.image_1.source, height=640),
buttons=[('Back', None, None)],
large=True,
)
Otherwise you could have an ‘expanded image’ Form that you open within the gallery, or just redirect to the raw image. There’s a few ways of doing it!