Tagged: iframes, lightbox not working
Hello, After updating my theme. All my images that are linked to Panoramic Virtual tours. Do not open in a light box anymore. but on a new tab. I had added ?iframe=true&width=900&height=500 to the end of the url, but now this appears not to work..
Please can you help..
Blog example : http://liquidjunglemedia.com/dont-need-realtor-want-360-degree-virtual-tour/
Hi Nil73!
Please refer to Josue’s post here – https://kriesi.at/support/topic/open-virtual-tours-in-lightbox/#post-291227
Best regards,
Yigit
I went to this post: https://kriesi.at/support/topic/open-virtual-tours-in-lightbox/#post-291227
And added this to my functions php:
function add_custom_script(){
?>
<script>
jQuery(window).load(function(){
jQuery(‘a[href*=”/360tours”]’).magnificPopup({
type: ‘iframe’
});
});
</script>
<?php
}
add_action(‘wp_footer’, ‘add_custom_script’);
But nothing is working still..
http://liquidjunglemedia.com/dont-need-realtor-want-360-degree-virtual-tour/
When you click the images within the blog, instead of the Virtual tour opening, is says Image cannot be loaded..
Please can anyone advise me…