You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't know if there was a better place to ask questions.
Is there a way to manually specifying both 2x & 3x versions through data attributes? The following example given in the README seems to only support one. I used rails with digested assets and would prefer not to generate non-digested assets, but would also like to support 2x & 3x. Thanks!
There doesn't appear to be way to do this that I have found either (if you define the attribute twice then only one is used of course) - however if you set a 3x image as the path, then it will also be used for 2x retina. I'm not entirely sure if there are any issues with this as I don't have a 3x retina device to test on, but I can say that all looks ok in 2x and 3x retina in responsive design mode of a standard desktop browser.
You can use the browser devicePixelRatio for judgmentConst DPR = window. DevicePixelRatio | | 1Of course, if it is never too, trouble.But seems there is no other way, or you can rewrite the retina, js
I didn't know if there was a better place to ask questions.
Is there a way to manually specifying both 2x & 3x versions through data attributes? The following example given in the README seems to only support one. I used rails with digested assets and would prefer not to generate non-digested assets, but would also like to support 2x & 3x. Thanks!
The text was updated successfully, but these errors were encountered: