Added image lightbox, fixed bug on image saving.