SmilyOrg / photofield

Experimental fast photo viewer.
MIT License
402 stars 7 forks source link

After scrolling for a while, photos no longer load #19

Closed Darthagnon closed 9 months ago

Darthagnon commented 1 year ago

Describe the bug After scrolling for a while in a large album, I reach pixellated thumbnails, then blurred thumbnails, then just a blur. The blur no longer responds to clicks or loads.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://demo.photofield.dev/'
  2. Enter a large album and scroll for a while
  3. Pictures will eventually stop loading

Expected behavior Memory to be cleared of earlier thumbnails and the new thumbnails to be loaded while scrolling, rather than stopping at some point.

Screenshots of course, once I try and get a screenshot, I couldn't replicate. Maybe click-zooming clears memory and gets things working again?

Desktop (please complete the following information):

Smartphone (please complete the following information): N/A

SmilyOrg commented 1 year ago

So this would happen if the server stops responding to any requests, so the browser can only do what it can with what it already has (preloaded lower quality images). For technical reasons clicks also depend on the server being there and ready, so I think you just ran into the server being overloaded at times :)

I would be interested if it happens for you locally though if you end up trying it out!

Darthagnon commented 1 year ago

I'll test more extensively locally! I was having great performance with my test folder full of desktop wallpapers! Don't know why I didn't think "server probably overloaded" - makes sense!

Really loving the project so far!

SmilyOrg commented 9 months ago

Closing this as there seems to be nothing more to do :)