Jump to content

LTK code blocks are very slow to load

Recommended Posts

Hello.

I'm using code from LTK for product images but they take forever to load unless you refresh the page. I just see a whirling circle for ages.

Here is the code:

<div class="lookbook-widget" data-widget-id="540404"><script type="text/javascript">!function(w,i,d,g,e,t){d.getElementById(i)||(element=d.createElement(t),element.id=i,element.src="https://widgets.rewardstyle.com"+e,d.body.appendChild(element)),w.hasOwnProperty(g)===!0&&"complete"===d.readyState&&w[g].init()}(window,"lookbook-script",document,"__lookbook","/js/lookbook.js","script")</script><div class="rs-adblock"><img src="https://assets.rewardstyle.com/production/61f9ee5202a6e5d5a5a6ac402d36fd9458932975/images/search/350.gif" onerror='this.parentNode.innerHTML="Disable your ad blocking software to view this content."' style="width: 15px; height: 15px"><noscript>JavaScript is currently disabled in this browser. Reactivate it to view this content.</noscript></div></div>

 

And this is the page: https://www.getgetgot.com/best-buys/baby-toys

(It's number 3, the monkey, that fails to load. The other images are Amazon code.)

I've tried disabling Ajax loading but it didn't work. I've also tried viewing it in Incognito mode with no luck.

Thank you.

Link to comment
  • Replies 3
  • Views 263
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.