Backstretch.js and thumbnail sizes to reduce loading time
If you were to use mediaqueries, you’d have to selectively dis- and enable DOM elements to which you have applied different images. Rather than that, I’d recommend conditionally applying different images to the same element, i.e. the <body> and keeping the condition inside the JS. wp_localize_script is capable of passing several parameters to the script. … Read more