[Resolved] [Plugin: W3 Total Cache] Attachment links' query strings interfering with jQuery detection
The W3 Total Cache plugin is really amazing.
I’ve got a CDN working with CloudFront and Amazon S3. Super easy to set up.
But now if I insert an image into a post, linked to the large version of itself, the link has an appended query string, like this:
My problem is that the query string seems to be confusing my jQuery popup plugin’s ability to realize that this image is a jpg.
Anyone know a way around this? The jQuery in question (in the Easy Fancybox plugin) uses the “Attribute Ends with” Selector in jQuery (http://api.jquery.com/attribute-ends-with-selector/) like this:
So, I suppose the query string just makes it so that that condition is no longer met.
- The topic ‘[Resolved] [Plugin: W3 Total Cache] Attachment links' query strings interfering with jQuery detection’ is closed to new replies.