Adding lightbox to image type. Adding settings. Cleaning code.