Serve images and optimize them