WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] no match for images with media query string appended (3 posts)

  1. Gilligan
    Member
    Posted 1 year ago #

    Easy FancyBox does not match href links for images that have a media query appendage.

    For example, W3 Total Cache browser cache, when combined with CDN, appends a media query string in the form ?XXXXXX after the filetype.

    Easy FancyBox does work properly if W3TC Browser Cache setting is unchecked: Prevent caching of objects after settings change.

    I think plugin author should refine the matching routine used by Easy Fancybox. See line ~108+ of easy-fancybox.php

    Probably it does not match the filetype if the media query string is appended to the .jpg etc. Need to allow for the W3TC media query string, which is now in the form ?60eab3 -- e.g. file link url ends with blah.png?60eab3

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Gilligan, this is currently implemented in the development version. If you want, you can take it for a test drive by downloading from http://wordpress.org/extend/plugins/easy-fancybox/developers/ under Other Versions. Upload via FTP and it should work with query string too...

  3. Gilligan
    Member
    Posted 1 year ago #

    OK, thanks! For now I will turn off that portion of w3tc browser cache.

    I can live with that until the new version ships.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic