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

PixelRatio problem #25

Open
milanlugonja opened this issue Jul 1, 2014 · 1 comment
Open

PixelRatio problem #25

milanlugonja opened this issue Jul 1, 2014 · 1 comment

Comments

@milanlugonja
Copy link

I came across the problem with PixelRatio. I've tested your code on Samsung Galaxy S4 (PixelRatio = 3.0) and it doesn't work. If i comment the line 43 in jquery-picture.js the problem is solved, but i don't think commenting the line is good idea :)

//if(!settings.ignorePixelRatio && window.devicePixelRatio !== undefined) PixelRatio = window.devicePixelRatio;

@LuigiClaudio
Copy link

LuigiClaudio commented Jun 3, 2016

Same problem here on a Nexus 6p and device pixel ratio being 3. At the same time I'm considering leaving the plugin behind and implenting the picture element instead.
By commenting out that conditional statement we're leaving the pixel ratio to the default value of 1 defined previously.

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

2 participants