How to replace Retina Images in the editor


#1

Hey everyone,

Ran into a scenario that I couldn’t figure out in the Surreal CMS edit page. How does Surreal deal with retina images? Is it possible to replace the srcset retina images? It looks like right now it only replaces the one top level image.

ie:
<img src="img/lazyload-ph.png" data-src="img/image_a.png" class="img-fluid float-lg-none img-margin-left lazyload" alt="" srcset="img/image_a@2x.png 2x" />

Thanks


#2

That’s correct — there’s currently no support for srcset for images :frowning: