add ratio to scale image