• Resolved mmjaeger

    (@mmjaeger)


    hello
    I’d like to run some script after the instagram images have been loaded – is there access to some callback function I could use.

    Any help is very much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey mmjaeger,

    Actually code saved to our “Custom JavaScript” area on the “Customize” tab executes after the images are displayed on the page. That should work well for you!

    Let me know if you have any more questions.

    Thanks,

    Craig

    Thread Starter mmjaeger

    (@mmjaeger)

    Thanks Craig – I’ll give that a try although I would have preferred to use some callback function to hook into

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Sure, what you could do then is just skip the custom JavaScript area and mimic what this feature does:

    window.sbi_custom_js = function(){
      console.log('posts on page');
    }

    Just include that somewhere in your JavaScript. It should work.

    – Craig

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there access to some callback when images are loaded’ is closed to new replies.