WordPress.org

Ready to get started?Download WordPress

Forums

FancyBox for WordPress
404 errors from 20 png files (8 posts)

  1. xing3811
    Member
    Posted 11 months ago #

    I am getting 404 errors on FancyBox images that cause me to be locked out of the site when trying to use Better WP Security. Most of the images are from pages that have images with no links so I'm really confused. Other pages have images with no links and no 404 errors. Here is an example of the errors:

    /menu/fancybox/fancy_shadow_se.png
    /catering/fancybox/fancy_shadow_e.png
    /fancybox/fancy_shadow_nw.png

    I really need both of these plugins so hope there is a fix.

    http://wordpress.org/plugins/fancybox-for-wordpress/

  2. ilias.2008
    Member
    Posted 10 months ago #

    I have the same exact problem on my website!
    I am using it with nextgen 1.9

  3. flojnel
    Member
    Posted 9 months ago #

    I'm getting a lot of 404 errors also. The path is wrong.

  4. ilias.2008
    Member
    Posted 9 months ago #

    The problem is still there, everyday.....
    someone can give us an answer???

  5. ryansigg
    Member
    Posted 9 months ago #

    Seeing the same thing on a couple sites where I use Fancybox for WP.

    It looks like the images path are loading incorrectly relative to whatever post is being viewed, like:
    /post-name-one/fancybox/fancy_shadow_nw.png
    /post-name-two/fancybox/fancy_shadow_nw.png

    This seems like a really basic issue; hopefully the developer updates at some point.
    If I have a sec, I'll look into it; if I find a temp fix I'll report it here...

  6. ryansigg
    Member
    Posted 9 months ago #

    This doesn't seem to be the plugin developer's problem as much as it is with the original Fancybox (assuming it's a pretty direct implementation)...

    The issue lies with the Internet Explorer-specific filters within the plugin's fancybox.css file (located in plugins/fancybox-for-wordpress/fancybox).

    At the bottom of that file you'll see:

    .fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
    .fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }

    ... and so on ... from lines 350-357, 8 lines in total.

    It seems that this filter loads the image relative to the page it is called from, and not the CSS file: http://msdn.microsoft.com/en-us/library/ms532928%28v=vs.85%29.aspx

    In any case, I'm simply commenting ALL out those lines for the time being (if you make any edits be sure to do them again if you update!).

  7. ilias.2008
    Member
    Posted 9 months ago #

    What do you mean by "simply commenting"??
    what to do? delete those entries?

  8. Bozz
    Member
    Posted 3 weeks ago #

    To comment out CSS, place /* and */ at the beginning and end of the css you wish to deactivate respectively.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags