VTKExamples now supports lazy loading of images

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

VTKExamples now supports lazy loading of images

Bill Lorensen
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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtk-developers

Loading...