1. A computer implemented method comprising: identifying, by a computer system, a first image and a second image for display on a client device; identifying, by the computer system, one or more contexts of the first image; identifying, by the computer system, one or more contexts of the second image; determining, by the computer system, a first image quality for the first image based on the one or more contexts of the first image; determining, by the computer system, a second image quality for the second image based on the one or more contexts of the second image; compressing, by the computer system, the first image at the first image quality and the second image at the second image quality; and transmitting, by the computer system, the compressed first image and the compressed second image to the client device.