• Resolved mrhuynhanh

    (@mrhuynhanh)


    My page can show up .webp files. But new images after loading by ajax still appear in .png format, not .webp.

    Please take a look at given link, scroll down and click on blue button labeled: T?I THêM M?U

    You will see it will load more images without .webp format.

    How can I fix this issue?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @mrhuynhanh, to get the WEBP replacement automatically, you need to use wp_get_attachment_image_src hook for getting the image source. You may need to fine-tune the ajax response manually in your situation.

Viewing 1 replies (of 1 total)
  • The topic ‘.webp files don’t show when using Ajax load’ is closed to new replies.