WordPress.org

Ready to get started?Download WordPress

Forums

Instapress
Fancybox (3 posts)

  1. jlandttc
    Member
    Posted 1 year ago #

    Fancybox is not working. When I click an image, the image opens a new page.

    http://wordpress.org/extend/plugins/instapress/

  2. jlandttc
    Member
    Posted 1 year ago #

    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?

  3. will.ph
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags