trepmag/jrac — Issue #7: Viewport / draggable distort the image
Author: Martenvanurk
Created: 2011-12-21 12:56:51+00:00
State: open

Dear,

I loaded an image with the dimensions 4000 x 2666 ( or bigger ) in the viewport. My viewport is 965px x 460px. The draggable square is positioned at the right.

When I drag the square a little bit too the left, the image is distort ( width and height are messy, the image will be stretched. ) When I use for example an image with the dimensions 1024px x 768px ( the draggable sqaure positioned in the middle ) the image will be nice transformed.

I think the range of the draggable square isn't enough for big sized images. Maybe you can fix this? I solved my problem with resize the image when it's uploaded.

Your sincerely,
Marten