make gallery links permanent