You are asking your question in the wrong forum because you first need a function for OC that creates webp images or converts the ones that already exist and then you need another function that only displays webp images if a browser supports this image format . However, these functions have...