Add image scaling framework