Add snippet for image gallery.