retinafy

Use JS to choose src based on devicePixelRatio

retinafy

Use JS to choose <img> src based on devicePixelRatio

<img data-src="" data-src-1_5x="" data-src-2x="" width="320" height="480" />
  • Test with jQuery
  • Test in browsers
  • Test on phones