Add option to generate data uris for optimized images