Gallery thumbnails are not being picked up by CDN at WP Engine
-
WP Engine uses an mu-plugin to hook into img elements and overwrite src urls using a CDN domain. This worked well when FooGallery used data-src attributes. Since these attributes changed to data-src-fg, WP Engine doesn’t seem to filter the gallery thumbnails.
Search and replace (data-src-fg -> data-src) in class-foogallery-lazyload.php and render-functions.php restores WP Engine “CDN rewrites”.
This is not a critical issue for me, I’m also using Cloudflare, so the thumbnails are cached anyway. Just wanted to let you know.The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Gallery thumbnails are not being picked up by CDN at WP Engine’ is closed to new replies.