Optimized the sending images and details of images