I have 2 images - that are proportional, but different sizes. One is 201px wide and 272px tall. The other is 442px wide and 596 px tall.
I have a small 80X90 box (div) placed on the small image (covering, for example someone's face). I would like to transform the same box onto the second image. In other words, the same person's face should be covered by the <div> on the larger image.
I know the coordinates of the box in the first (smaller image); and expect the box to get larger in the larger image. The algorithmn should be screen-resolution independent.
Please help.
