Optimized images and add image variables.