• Resolved andreabelvedere

    (@andreabelvedere)


    Hi Sayontan,

    Thank you for making this great plug-in.

    It works perfectly on a desktop browser with flickr.
    But when viewing the same page on a mobile phone (iPhone – Safari) the whole page refreshes automatically after few slides, and the slide show restarts from the beginning.
    The page is this one: https://biv.io/about-me/

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    I have a feeling that your image optimization plugin is causing a memory overflow on mobile devices. The pattern I am seeing on my iPhone is that the page first slides through 4 images, then reloads, then slides through 4 images again, and then it crashes (the “Aw snap” error on Chrome when the device runs out of memory). The same behaviour has been seen in both, Chrome and Safari.

    Try disabling the image optimization plugin for this page (I think you are using Smushit). Since Photonic is pulling photos from Flickr, not your local website, disabling SmushIt for this page should have no impact.

    If the problem persists, consider reducing the number of photos, or working with smaller sizes.

    Note that your slideshow is trying to show 500 images, which is a very, very high number for a slideshow. At your current image size, each photo is around 150-200KB, which amounts to about 100MB of photos being loaded into the JavaScript object for the slider. The slider has to do a lot of heavy lifting for animations etc., which might be a bit too much for a mobile device’s browser (one of the reasons why mobile browsers don’t allow you to open sites like Netflix). Since 100MB is not too much of a load, it is also likely that the slider script that I use has a memory leak, but unfortunately I cannot troubleshoot it because it is a third-party script.

    Thread Starter andreabelvedere

    (@andreabelvedere)

    Thank you for your reply Sayontan.
    You are right. It was Smushit. Disabling it solved the problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page auto-reloads after few slides on mobile browser.’ is closed to new replies.