laid foundations for having image gallery links show up on media page