Manual lazy-loading
-
Hi,
one of my clients sites is hosted at SG.
I have coded a lot of plugins and shortcodes for him.
Not all the images on those plugins/shortcodes are not being replaced with webP images.
The jpg seems to be but not the png.is there a setting I need to change to have pngs also served as webp?
I am getting the img src using:
$postthumb = wp_get_attachment_image_src( get_post_thumbnail_id($postData->ID), 'mycpt-thumb' ); $the_thumbnail = $postthumb['0'];
thanks in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Manual lazy-loading’ is closed to new replies.