added ability to optimize images in any css