inline links for galleries