WordPress.org

Ready to get started?Download WordPress

Forums

Image Rotator Widget
[resolved] Rotator does not display images in FF & IE9 but works on IE8 &amp (9 posts)

  1. Nitesh
    Member
    Posted 1 year ago #

    I am using this plugin on several pages of my website. It works like charm. The only issue I am having is on the home page where the plugin works in IE8, Chrome but does not display in Firefox and IE9. I am using Fade transition. After debugging JS, it looks like the issue lies withitn this function -

    function irw_load_fade(img, widget, slider) {
    var width_array = new Array();
    var height_array = new Array();
    img.each(function(i){
    width_array[i] = jQuery(this).width();
    height_array[i] = jQuery(this).height();
    if(height_array[i] > image_set_height) {
    image_set_height = height_array[i];
    }
    });
    widget.height(image_set_height + "px");
    slider.find("li:first-child").addClass("active");
    slider.find("li:not(.active)").css({
    position: "relative",
    top: "0px",
    left: "0px",
    display: "none"
    });
    widget.removeClass('loading').children('.irw-slider').css({ visibility: 'visible', margin: "0px" });
    setTimeout(function(){
    irw_fade(img, widget, slider);
    }, 2000);
    }

    on the below 2 line.s I get 0 as values for both these lines while I believe I should get image width and heihgt.

    width_array[i] = jQuery(this).width();
    height_array[i] = jQuery(this).height();

    http://wordpress.org/extend/plugins/dk-new-medias-image-rotator-widget/

  2. Nitesh
    Member
    Posted 1 year ago #

    Further investigation -
    After Clearing cache in IE9, the page displays the rotator OK on 1st load but on 2nd load it just displays the animator to load images. Tried several times and can confirm this behavior. Please help!

  3. Nitesh
    Member
    Posted 1 year ago #

    Upgraded the inbuilt imagesloaded.js library to latest version and that fixed the issue.

  4. srcoley
    Member
    Plugin Author

    Posted 1 year ago #

    Nitesh,

    Thanks for this find. The next release will contain the updated imagesloaded.js lib.

    Stephen

  5. Nitesh
    Member
    Posted 1 year ago #

    Stephen,

    Great! Its really an awesome plugin :)

    Thanks,
    Nitesh.

  6. srcoley
    Member
    Plugin Author

    Posted 1 year ago #

    Nitesh,

    Thank you so much for the kind words. The update is now live. I've fixed the transition speed bug as well.

    Stephen

  7. petyata
    Member
    Posted 1 year ago #

    Hi there,
    It was working under all browsers, but yesterday disappeared and on IE (10, 9, 8) is not visible at all.
    Can you give me some advice, please? I have updated to the last 0.2.6 version.
    Thank you,
    Petya

  8. petyata
    Member
    Posted 1 year ago #

    Here is a link to the test website, where i made some small changes to the css yesterday: http://doma.altlabs.net/sbs - and now it is not working on IE
    while on the public version http://www.sbs-bg.org it is working.
    unfortunately downgrading the css to the previous versions doesn't solve the problem

  9. Nitesh
    Member
    Posted 1 year ago #

    Hi Petyata,

    You should open a new thread with your question as this thread is already resolved and there are less chances of people answering to questions asked here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic