Added scale type for image.