2 ms·
Nice website! An improvement to the website would be a CDN (faster loading of images) and using 'infinite scroll' to load all (~4000) images. One can use a pi
by sandstrom 12y ago
Nice website!
An improvement to the website would be a CDN (faster loading of images) and using 'infinite scroll' to load all (~4000) images.
One can use a piece of js to only load images in the viewport.
Could also add a small placeholder text shown (instead of black) before the image is loaded. E.g. the coordinates, or county/state, or the size of the facility in square meters (or yards or whatever).
- AnthonyMouse 12y agoPlease stop encouraging people to use infinite scroll, it is a scourge to be eradicated. In any case you think infinite scroll would be useful, what you really want is a link at the bottom of the page that says "elements per page: 25 | 50 | 250 | unlimited". Infinite scroll makes it painful to reach the end of a large list on a machine with low memory. It deprives the user of the ability to record your place in the list if you want to come back tomorrow (or switch to another device or restart your computer etc. etc.), or send a link to someone else. It breaks the web.
- icebraining 12y agoIt deprives the user of the ability to record your place in the list if you want to come back tomorrow (or switch to another device or restart your computer etc. etc.), or send a link to someone else. Technically, you can use history.pushState & replaceState to automatically update the URL to the current position without having to reload the page. Demo: http://scrollsample.appspot.com/items http://scrollsample.appspot.com/items
- deleted 12y ago[deleted]