Fancybox is not working. When I click an image, the image opens a new page.
Fancybox is not working. When I click an image, the image opens a new page.
I am still having problems with this. The image opens in a new page like it is just an image link. The lightbox functionality is not working at all. This can be seen on nametest.weserver.org/affinity. Any help would be appreciated?
My theme uses fancybox also, and I can't rebuild my theme around Instapress. Here's how I resolved my issue with Fancybox not working:
Disabled effects, yet still used effect="fancybox" in the shortcode.
- It links the thumbnail to the image, not to the Instagram page of the image.
Used my theme's Fancybox instance.
- added the ff. javascript somewhere in the footer:
<script>
jQuery(document).ready(function($) {
$(".instapress-shortcode a[rel=instagram-sc-images]").fancybox();
</script>
Hope this helps.
You must log in to post.