We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9995
    • 1,613 Posts
    fourroses666 Reply #1, 13 years ago
    Lately I use retina.js. http://retinajs.com
    The script checks if you have an image in the same folder with the same image + added @2x in the filename. Like this: imagename@2x.jpg. The image needs to be 2x as big and it will be looking much better on ipad etc.

    Does anyone knows a way to use phpthumb or other simple way to also render an image 2x as large in the same map and add the @2x?
    [ed. note: fourroses666 last edited this post 13 years ago.]
      Evolution user, I like the back-end speed and simplicity smiley
      • 9995
      • 1,613 Posts
      fourroses666 Reply #2, 13 years ago
      Never mind, it seems retina.js doesn't work when you use phpthumb, because of the src="/image.php?src=assets..."

      Looking for a solution..
        Evolution user, I like the back-end speed and simplicity smiley
        • 9995
        • 1,613 Posts
        fourroses666 Reply #3, 13 years ago
        I hate the retina.js script, doesn't show my images all the time and doesn't work with phpthumb that great.

        I now use a very nice script when I add a class to my img it looks for the 2x bigger image (@2x.jpg):

        http://www.kylejlarson.com/blog/2012/creating-retina-images-for-your-website/

          Evolution user, I like the back-end speed and simplicity smiley