Looks like localhost was the issue – just uploaded a static page to my webserver and the cookie is set for phone/tablet users (I have to refresh the page though before it works – presumably there is no way around that?).
Thanks for the reply!
I can see a “/wp-content/plugins/wp-retina-2x/js/retina-images.js?ver=1.4.1” JavaScript file in <head> of my site so that part is working fine.
I’ve checked and the devicePixelRatio cookie is being set on my desktop (with a value of 1) but is not being set on my phone and tablet. Presumably, the cookie value is vital to what images are shown? I’ve no idea why the cookie isn’t being set on my phone and tablet – it’s a responsive site so the HTML is the same as with the desktop site.
My site is still in development on my local machine so I can’t share a URL. Could the issue be related to localhost maybe?