Thumbnails of Lightgallery not loading when Smush Lazyload is active

Thumbnails of Lightgallery is not loading when Smush CDN is activated. I tried adding a class to the thumbnails and exclude with no help.