strues/retinajs

<img src="/images/my_image.png" data-rjs="/images/2x/my-image.png" />

brentdodell opened this issue · 0 comments

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!

<img
  src="/images/my_image.png"
  data-rjs="/images/2x/my-image.png" />