add more image optimizations