Closed hataesun closed 1 year ago
now I understand same issue have occured, and the img srcset is problem. so I need to fix my souce, but I don't know java script. is there anyone can help me?
<script>
$(document).ready(function(){var $container = $('main').infiniteScroll({ // options path: '#page', append: false,
scrollThreshold: 50000,
prefill: true,
hideNav: 'nav',
debug: true,
});
$container.on( 'append.infiniteScroll', function( event, response, path, items ) {
$( items ).find('img[srcset]').each( function( i, img ) {
img.outerHTML = img.outerHTML;
});
});
});
</script>
original append is 'article'
I have my tumblr blog theme. my theme not working well only on iOS devices. I use infinite scroll from infinite-scroll.com and it had worked but I have recognized that after first page (15 articles) is scrolled, there is no image and builted in video not working. images are not loaded, and builted in video shows only thumbnail. and more frustrated, it has issued only for ios. infnite scroll is working well on desktop with images. I add my source below. my website: https://hataesun.com/ this is my stackoverflow article(code): https://stackoverflow.com/questions/75602851/my-tumblr-themes-images-not-loading-after-page-1-safari-only-infinite-scrol