add image resizing in lytbox to prevent giant data traffic