added scaling images into canvas