Teresa60118
Forum Replies Created
-
Forum: Plugins
In reply to: [Subscribe2 Widget Pro] Subscribe2 HTML compatibilityI am having the same issue. Any resolution yet?
Victoria – I commented it out and then commented it back in… and now all is working great. So strange. Hope it holds!
Thanks!
I still don’t have the header logo working, but for the rest of the body images:
– I turned off lazy load in revolution slider.
– I uploaded 2 plugins – WP Retina 2x and Media File Renamer. This may have helped with all the random @2x lost links the browser seemed to be trying to find. I also had to go through with the trouble shooting and upload higher resolution images to accommodate. Major Pain the you know what! Anyway… one of those things may have helped. I’m not sure. I’ve been on this all day. ??Hope something works for you… But actually when I look at your site… it all seems to be working now. What did you do? (if anything) ??
I have my images working all except the header image… I’m getting this error:
[Error] TypeError: null is not an object (evaluating ‘this.path.split’)
t (retina.js, line 5)
n (retina.js, line 5)
onload (retina.js, line 5)This is the afflicted script: Any help please…
/*———————————————————————————–*/
/* RETINA.JS
/*———————————————————————————–*/(function() {
function t(e) {
this.path = e;
var t = this.path.split(“.”), n = t.slice(0, t.length – 1).join(“.”), r = t[t.length – 1];
this.at_2x_path = n + “@2x.” + r
}
function n(e) {
this.el = e, this.path = new t(this.el.getAttribute(“src”));
var n = this;
this.path.check_2x_variant(function(e) {
e && n.swap()
})
}
var e = typeof exports == “undefined” ? window: exports;
e.RetinaImagePath = t, t.confirmed_paths = [], t.prototype.is_external = function() {
return !!this.path.match(/^https?\:/i)&&!this.path.match(“//” + document.domain)
}, t.prototype.check_2x_variant = function(e) {
var n, r = this;
if (this.is_external())
return e(!1);
if (this.at_2x_path in t.confirmed_paths)
return e(!0);
n = new XMLHttpRequest, n.open(“HEAD”, this.at_2x_path), n.onreadystatechange = function() {
return n.readyState != 4 ? e(!1) : n.status >= 200 && n.status <= 399 ? (t.confirmed_paths.push(r.at_2x_path), e(!0)) : e(!1)
}, n.send()
}, e.RetinaImage = n, n.prototype.swap = function(e) {
function n() {
t.el.complete ? (t.el.setAttribute(“width”, t.el.offsetWidth), t.el.setAttribute(“height”, t.el.offsetHeight), t.el.setAttribute(“src”, e)) : setTimeout(n, 5)
}
typeof e == “undefined” && (e = this.path.at_2x_path);
var t = this;
n()
}, e.devicePixelRatio > 1 && (window.onload = function() {
var e = document.getElementsByTagName(“img”), t = [], r, i;
for (r = 0; r < e.length; r++)
i = e[r], t.push(new n(i))
})
})();I feel like it is something with @2x images…?
And we both are using revolution slider as well. I have the issue on every page.