updates client code with lightbox for images