fix mediagallery link