• Resolved jonofat

    (@jonofat)


    Hi, I had a look at the FAQ and did a search on this forum but couldn’t find anything (doesn’t mean it isn’t there, I just couldn’t find anything). But basically I have uploaded some images using Advanced custom fields and I can see that your plugin has converted the images to webp in their default folders. I have created a custom endpoint in WordPress where I can send the ACF image eg:

    $banner_img = get_field('banner_img', $pageId);
    return $banner_img; 

    Is it possible to get the webp version in a similar fashion with the sizes too?

    • This topic was modified 2 years, 7 months ago by jonofat.
Viewing 1 replies (of 1 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @jonofat,

    Thanks for your message.

    Images in WebP are displayed when images are loaded on the page. Please read the plugin description carefully.

    Best,
    Mateusz

Viewing 1 replies (of 1 total)
  • The topic ‘Get ACF images in rest api’ is closed to new replies.