1. A method for optimizing images of a web page on a network server, comprising: detecting the images in the web page to determine the relationship among the images; in response to the determination of the relationship among the images, combining two or more related images into a combinational image; and updating the web page to replace references to the related images with a reference to the combinational image.