In my Flickr account I have some oversized panoramas (e.g. 21034x3217 pixels). I have been experiencing browser crashes on my Raspi from MagicMirror and suspect these large images are part of the puzzle.
There's no point in burning the CPU, bandwidth and memory to retrieve and decode an image much larger than the attached display. This PR adds a limit configuration; we automatically select the largest available variant, subject to the limit.
In my Flickr account I have some oversized panoramas (e.g. 21034x3217 pixels). I have been experiencing browser crashes on my Raspi from MagicMirror and suspect these large images are part of the puzzle.
There's no point in burning the CPU, bandwidth and memory to retrieve and decode an image much larger than the attached display. This PR adds a limit configuration; we automatically select the largest available variant, subject to the limit.