700 megapixels served in under 700 miliseconds
mag.prodibi.com
mag.prodibi.com
You pass a big image to "vips dzsave" http://www.vips.ecs.soton.ac.uk/index.php?title=VIPS and it creates a .dzi file describing the tiles and a set of directories with zoomed in tiles. Then you add a div to your HTML and execute this js
viewer = new OpenSeadragon({
id: "openseadragondiv",
prefixUrl: "/Scripts/openseadragon/images/"
});
viewer.open(pathToDZI);
It also has plenty of useful plugins, eg. Scale bar https://pages.nist.gov/OpenSeadragonScalebar/ or Annotations (to draw on the image) https://github.com/Emigre/openseadragon-annotationsI have seen some times load up 5-6 MB files when a 100-200kb image would have done the job.
If us developers could have an easy way to do this, I think it would really make the internet a lot faster.
https://max1.prodibicdn.com/9ydmr8zdmerork/00/10/0_0.jpg
https://max1.prodibicdn.com/9ydmr8zdmerork/00/11/0_0.jpg
https://max1.prodibicdn.com/9ydmr8zdmerork/00/12/0_0.jpg
https://max1.prodibicdn.com/9ydmr8zdmerork/00/13/0_0.jpg
https://max1.prodibicdn.com/9ydmr8zdmerork/00/14/0_0.jpg
https://max1.prodibicdn.com/9ydmr8zdmerork/00/15/0_0.jpg
should give you an idea of what's going on.
Every level is split into quadrants.
So when someone zooms in, it will fetch the quadrants that is visible to the browser viewport. By doing this way, the browser doesnt have to load the rest of the image and thus save alot of bandwidth!