Thread Starter
Layzie
(@layzie)
I believe I had a js conflict as some custom js which I had working before stopped. I’ve tried disabling the popup plugin and the custom js was working again. Not sure exactly which part was conflicting as it only happened on firefox (chrome was fine). I’ll have a look around and see if I can find anything out or not.
Hi,
I added your code where you said you put it but it still didn’t add the https to the images for me. This is the code below, is it correct? Line 195 is “$url = $this_url;”.
foreach($post - > {
'photo-url'
}
as $this_url) {
foreach($this_url - > attributes() as $key => $value) {
if ($value == $photo_size) {
$url = $this_url;
$url = str_replace("http:", "//", $url);
}
if ($value == 1280) {
$link_url = $this_url;
}
}
}