completed resizing images for lightbox gallery