Fix image gallery links.