[vtk-developers] VTKExamples now supports lazy loading of images

Bill Lorensen bill.lorensen at gmail.com
Sun Jun 25 14:56:59 EDT 2017


Folks,

Github has a rate limit for loading images. So a page like
https://lorensen.github.io/VTKExamples/site/Cxx/

with over 250 thumbnails quickly hits the rate limit and the images do
not display. Further, if you click on an example, the image for that
example will not display. After a short time, a refresh will show the
image.

I have added lazy loading of images. Images are only loaded when they
appear in the viewport, This helps alleviate  the rate limit issue.
Still, if you page through the entire Cxx page, you will reach that
limit.

This will also make the page loading of large pages to go faster.

Bill

-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtk-developers mailing list