added scaling to image