Added 'data-scale-by' handling to optimizeImages