Add path param to structured media gallery links