Forums

Easy FancyBox
[resolved] images not displaying (6 posts)

  1. Yuli Yang
    Member
    Posted 3 months ago #

    Hi,

    I was trying to install this plugin: http://wordpress.org/extend/plugins/easy-fancybox/

    On the post page, it works fine with PDF file but not the images.
    Here's the page: http://test.communityprep.org/wordpress/news/

    On the other page, all the images won't even open up the box.
    http://test.communityprep.org/wordpress/founders/

    Thanks.

  2. RavanH
    Member
    Posted 3 months ago #

    Your theme has it's own jquery library hard-coded:

    <script type="text/javascript" src="http://test.communityprep.org/wordpress/wp-content/themes/communityprep/js/jquery-1.2.3.pack.js"></script>

    plus it is missing a wp_footer() call in the footer.php template.

    These things will need to be fixed before FancyBox will work...

  3. Yuli Yang
    Member
    Posted 3 months ago #

    Thanks for helping.
    I'm not an expert on this, so I have no idea how to fix this at all.

    Can anyone tell me what to do?

  4. RavanH
    Member
    Posted 3 months ago #

    Maybe there is a work-around: set on Settings > Media in the FancyBox section all Transitions you can find to 'Fade'. Or 'None' should work too.

    Then test the page http://test.communityprep.org/wordpress/news/ again.

  5. RavanH
    Member
    Posted 3 months ago #

    To get the image on http://test.communityprep.org/wordpress/founders/ working, go to Settings > Media again and add 'jpeg' (separated by a space) to the Auto-detect field under Images & Inline content.

    Please know that as long as your theme has that hardcoded jQuery library reference in its header.php and the missing wp_footer() call in its footer.php, elastic transitions are not possible for you and there might be some unexpected side-effects from running two different jQuery libraries at the same time... To fix these issues, you will have to study up on creating/modifying your own WordPress theme http://codex.wordpress.org/Theme_Development or get someone to fix it for you. Or -- easiest -- switch to another theme ;)

  6. Yuli Yang
    Member
    Posted 3 months ago #

    Thank you very much! It works just fine now.

Reply

You must log in to post.

About this Plugin

About this Topic