WordPress.org

Forums

JS Banner Rotate
Problem displaying images (7 posts)

  1. darkmatter661
    Member
    Posted 2 years ago #

    Hello. Love the plugin, but having a problem with the way it looks in Chrome and IE.

    Take a look at http://www.allsparta.org

    In Chrome, the first image is superimposed on the background at a slightly dif size and then another appears on top and rotates with the next image. The first image stays as the background??

    In IE, the graphics looks terrible, non-dithered.

    Help! Thanks :)

  2. darkmatter661
    Member
    Posted 2 years ago #

    Sorry, I had to take it off of the main page, please look here: http://www.allsparta.org/bannertest

    Here's the shortcode I'm placing:

    [jsbrotate image1=http://www.allsparta.org/wp-content/uploads/sponsors/sksm.png image2=http://www.allsparta.org/wp-content/uploads/sponsors/stericycle.png image3=http://www.allsparta.org/wp-content/uploads/sponsors/ginnetti.png width=275 height=159 /]

    It's giving me a different problem now, as you can see.

  3. darkmatter661
    Member
    Posted 2 years ago #

    OK, changed it to:

    [jsbrotate image1=http://www.allsparta.org/wp-content/uploads/sponsors/SKSM.png image2=http://www.allsparta.org/wp-content/uploads/sponsors/stericycle.png image3=http://www.allsparta.org/wp-content/uploads/sponsors/ginnetti.png width=275 height=159 imgdisp=3 imgfade=1/]

    Still same problem.

  4. Eric Mann
    Member
    Plugin Author

    Posted 2 years ago #

    @darkmatter661 You've got a couple of issues here. First of all, a lot of the content that should be in your <head> element is in the <body> element instead.

    Second, you can only use one instance of JSBRotate on a page ... you seem to have two.

    Third, some of your images are transparent. The plugin works by placing the first image in the rotation on the screen and then fading the others on top of it. The first image will always be on the page! Using transparent PNGs won't work here.

    Fourth, IE doesn't like transparent PNGs to begin with, and fading them in and out on the screen makes matters even worse. This isn't a plugin issue, but an IE issue. Once again I recommend using something other than PNGs.

  5. darkmatter661
    Member
    Posted 2 years ago #

    Thanks Eric.

    Not sure I follow you on the elements you're talking about. All of the '<head>' info is placed by WP, I'm not including anything forcefully in the body of the page. All I see is content as soon as '<body>' starts. (?)

    I do see the two instances you're talking about. Not sure if it's the theme that's placing the first or second instance perhaps. I'll have to look into that.

    Hear you on the PNGs. I'll try same with solid backs.

    IE should be abolished :)

    Thanks again.

  6. Eric Mann
    Member
    Plugin Author

    Posted 2 years ago #

    You might have two calls to the wp_head action hook, because a lot of the extra information in the <body> elements is auto-generated by WordPress and tied to that particular action hook.

  7. darkmatter661
    Member
    Posted 2 years ago #

    I removed `<?php wp_head(); ?>' from my header.php... double call still there. Could be the theme.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic