dlnatoad icon indicating copy to clipboard operation
dlnatoad copied to clipboard

Generate previews for large images so they load faster

Open haku opened this issue 6 months ago • 0 comments

currently all images are served as is when viewed in the /i/ item page. photos can easily be 10 MiB or more, making them very slow to load.

similar to generating thumbnails, also generate medium sized images for faster viewing. to decide:

  • file size threshold? maybe 1 MiB?
  • what options to resize to? maybe jpeg 80%, capping to 2000px in both dimensions?
  • reuse --thumbs directory or use separate directory? separate is more config but doubles as a feature flag which is nice.

haku avatar Aug 21 '24 12:08 haku