I made some adaptions to make it run more smoothly:
Added a custom loading handler for the images in express. (Before all images were loaded without caching, leading to loading the image three times (one for img.src, one for EXIF.getTags() and one for css url()), now the static images are loaded with a cache header of 1 hour and thus only loaded once.
I also added a random scrolling for panorama pictures, now they do not only scroll from top to bottom (or left to right) but also the other way around.
Lastly I formatted the files with prettier, but you don't have to use it, just makes it easier for me and more consistent.
Hi! Thanks for the great module.
I made some adaptions to make it run more smoothly:
img.src
, one forEXIF.getTags()
and one for cssurl()
), now the static images are loaded with a cache header of 1 hour and thus only loaded once.I would be glad if you want to merge :)