[Smush Pro] WebP support for NextGEN galleries via Smush Pro CDN

When you have Smush Pro installed and configured to use the CDN to generate WebP versions of images, the NextGEN galleries images aren't having their jpg versions substituted with WebP versions. Neither the thumbnails or full versions in the lightbox get redirected to the CDN.

Here's an example page of a static image and a standard NextGEN gallery:

https://cityofbellingh.wpengine.com/news/2019/nextgen-gallery

Static Image URL

https://749355.smushcdn.com/1304579/wp-content/uploads/P400439.jpg?lossy=1&strip=1&webp=1

NextGEN Thumbnail URL

https://cityofbellingh.wpengine.com/wp-content/uploads/photo-galleries/project-es-4056/cache/P400169.jpg-nggid0234-ngg0dyn-0x720-00f0w010c010r110f110r010t010.jpg

The NextGEN integration option is turned on in the Smush settings and the NextGEN gallery images do appear to be getting optimized. It's just the CDN versions and WebP substitutes aren't being served up.