0
Under review
serve images webp
Is it possible to serve avatar images as webp? I'm using webp express to bulk convert and serve images as webp everywhere else on my website.
Customer support service by UserEcho
One more thing, it doesn't look like I can lazy load these images either. Any guidance on that? I'm using wp rocket for lazy loading.
Unfortunately, I don't have control over the type of Avatar image file. It basically uses the same as the original source site for the review. I'm adding the lazy load attribute in the next update of the plugin, but you shouldn't need it. I've used plugins to lazy load the avatars before. I haven't used wp rocket, but it should have a way to lazy load all images on the page.
thanks,
Josh
Regarding the webp, I set the images to cache locally, I was hoping that would help force a webp conversion, but it doesn't. Perhaps you could have a setting where the image is loaded into the media folder instead of wherever it is cached? Uploads to the media folder are automatically converted to webp for me. Could do this when collecting reviews.
Regarding the lazy loading, I can't get it to work, so I opened a ticket with WP Rocket... i'll let you know how that goes.
Hey I spoke with WP Rocket support, and they said that the images are included within a CSS file and can't be lazy loaded. Any ETA on when the next update will come out with the lazy loading feature? Also, any thoughts on adding a feature where images can be downloaded and served locally via the Media upload system?
What images are you talking about exactly? The stars are the only images that are in a font file.
I'll be pushing the update in the next couple of days.
Sorry, currently I don't have any plans to save images to the upload folder. Even if the plugin saved them there, when they get translated to webp the plugin database would then have to be updated to point to the correct version.
By images I mean the avatars. Can you tell me where they are cached at when set to cache?
I'm not sure what WP Rocket support means. The avatar images are not included in a CSS file. When you turn on the cache built into the plugin they are saved here...
/wp-content/uploads/wprevslider/cache
there is also this folder that is the default location for Facebook images even if the cache is turned off.
/wp-content/uploads/wprevslider/avatars
You can find the location of any image on your website by right-clicking on it > inspect and then look for the src value of the img element.