Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey Sundayx,

    I noticed that you have this custom javascript saved in the “Custom Javascript” area:

    $(‘.sbi_photo img’).unwrap();

    This seems to be causing the problem since the element that wraps around the img element is the element that displays the images when the images that are loaded are larger than 150px.

    If you remove the code it should start working. Was there a reason that you wanted to use this code? I might be able to help you find another way to accomplish it.

    Let me know if you need more help with this!

    Thread Starter sundayx

    (@sundayx)

    Hi Craig, Thanks for your reply. Interestingly this code was recommended from one of you guys in this post to remove the link on the image. I can confirm yes removing it does fix it. Any other script that could achieve the same function?

    Thanks!

    Plugin Contributor Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Ahh I see. When the Instagram API starting using the landscape and portrait style images instead of just square cropped images it changed how the Instagram Feed plugin displayed images as well. That code would work for earlier versions of the plugin but obviously causes problems now. Sorry for the confusion! Here is some code that will accomplish the same thing without causing the same problem:

    jQuery('.sbi_photo').removeAttr('href');

    Let me know if you need anything else!

    Thread Starter sundayx

    (@sundayx)

    Works great, thanks! Any chance it could also remove the fade-out effect when you mouseover?

    Thanks for your quick replies!

    Plugin Contributor Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Sure! You can try this javascript:

    $('.sbi_photo').unbind('mouseenter mouseleave');

    or all together:

    $('.sbi_photo').unbind('mouseenter mouseleave').removeAttr('href');

    Thread Starter sundayx

    (@sundayx)

    That’s perfect, thanks Craig! Have a good day!

    Plugin Contributor Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Awesome! Let me know if you need anything else. You have a good day as well.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Feed Blink and Disappears’ is closed to new replies.