The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Easy FancyBox
[resolved] Issue with getting FancyBox to show my images (3 posts)

  1. laNiwa
    Posted 5 years ago #

    After much consideration I decided to go with FancyBox (It is indeed Fancy!) but I am unable to get it to work on my website.

    Here is a link to one of my Gallery Pages http://laniwa.net/?page_id=7 - when clicking on an image the box loads then displays on the top-left corner with no ability to close it (other than refreshing the page) and no image loads. Any idea what is causing this and how I can solve it?


  2. RavanH
    Plugin Author

    Posted 5 years ago #

    Your theme is missing a wp_footer() call in footer.php (or wherever it does its </body> tag) basically preventing an extra script file from being appended that is needed for fancy transitions.

    You have three possible solutions:
    1. (probably not what you want) Switch to another theme;
    2. (maybe difficult or scary for you) Edit your theme template footer.php so that is has <?php wp_footer(); ?> just before the closing </body> part;
    3. (easiest) Configure FancyBox options to NOT use elastic transitions, and just use fade...

    Cheers :)

  3. laNiwa
    Posted 5 years ago #

    Thank you!!

    You are a genius! :) I never knew the importance of WP_Footer until now. Thank you again for your help (and it probably explains why none of the other scripts were ever working) :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic