Apologies if that has been asked before (I have searched to no avail).
In a nutshell, I’d like to make use of this lazy load plugin which supports hi-res/retina images: https://github.com/luis-almeida/unveil – it uses the “data-src” attribute to deliver retina images, something along the lines of:
How would be the best way to tackle this using ACF + WordPress? I’ve defined the appropriate “add_image_size” options in my functions.php file, covering off both retina and standard versions, however I’m having no luck pulling the images into the data-src attributes for these custom fields. The generated HTML ends up being: