image delivery optimizations