Encode a directory of images to CSS