1. A system comprising: a data processing apparatus; and a computer storage medium encoded with a computer program, the program comprising data processing apparatus instructions executable by the data processing apparatus and that upon such execution cause the data processing apparatus to perform operations comprising: in response to an image insertion request specifying a request to insert image search results referencing images that are responsive to a search query into a list of general search results: determining an insertion score that defines an ordinal insertion position at which an image display environment in which the image search results are to be displayed is to be inserted into a ranking of the general search results that defines ordinal positions for each of the general search results, the insertion score determined, in part, from quality scores of the images; generating a search results resource for displaying the general search results according to respective ordinal positions and the image display environment at an ordinal insertion position within the respective ordinal positions on a client device; and providing the search results resource in response to the search query; wherein each of the image search results is a generated from a search of an image corpus, and each general search result is generated from a search of a resource corpus that is different from the image corpus.