• Hello,

    I’m using your lazy load plug in on my website inside php custom template and I’m using ACF to display some images outside of content.

    <img src="" data-lazy-type="image" data-src="http://domain.com/imageurl.jpg" class="lazy lazy-hidden" />

    it works on chrome & firefox, but not on Safari.

    can you please help me with this ?

    thanks

    https://ww.wp.xz.cn/plugins/a3-lazy-load/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Nguyen Tuan

    (@nguyencongtuan)

    Hi mmdwc

    I think you just simple make custom php into your template like below

    $your_img = '<img src="http://domain.com/imageurl.jpg" />';
    $your_img = apply_filters( 'a3_lazy_load_images', $your_img );
    echo $your_img;

    Regards,
    Nguyen

Viewing 1 replies (of 1 total)

The topic ‘problem with lazy load on safari using php’ is closed to new replies.