Add external link support to the image gallery.