1. A method comprising: receiving input that identifies an example image for use in querying a collection of digital images; and using local and global feature descriptors to automatically rank the digital images in the collection with respect to similarity to the example image, wherein each local feature descriptor represents a portion of an image based on a division of that image into multiple portions, and wherein each global feature descriptor represents an image as a whole.