• Resolved thartl

    (@hartl)


    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)
  • Thank you for the feedback.

    I’ve made a note of this to discuss with the development team.

    Plugin Author bradvin

    (@bradvin)

    Hey

    We will be adding an advanced setting to override the data-src attribute in cases like this. It was originally data-src but other caching plugins were causing issues so we changed it to data-src-fg.

    It seems like making this overridable via a setting will be the best of both worlds

    Thread Starter thartl

    (@hartl)

    Thank you, Brad. I’ll watch out for that update.

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.