fixed image url generation for scales.