Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsive, Resized image? #61

Open
notflip opened this issue Jan 28, 2014 · 2 comments
Open

Responsive, Resized image? #61

notflip opened this issue Jan 28, 2014 · 2 comments

Comments

@notflip
Copy link

notflip commented Jan 28, 2014

Appearantly when you adjust the size of the image with css, like

img {width: 100%;}

Then the cutout part isn't correct, Which i understand, but is there some way for
large images to be able to fit onto the screen and be cutout right anyway?

Thanks!

@veksen
Copy link

veksen commented Jun 17, 2014

Pass the true image size as parameters :

$(selector).imgAreaSelect({
    imageWidth: 1920,
    imageHeight: 1080
});

@Himashukla
Copy link

You just saved my day.
@veksen thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants